svn commit: r233072 - projects/nand/sys/kern

Konstantin Belousov kostikbel at gmail.com
Fri May 11 10:47:01 UTC 2012


On Thu, May 10, 2012 at 06:45:19PM +0200, Mateusz Guzik wrote:
> http://people.freebsd.org/~raj/patches/misc/vfs_highdirtybuf.diff
> 
> callbacks are expected to increase flushed counter if they happend to
> flush some buffers.
I do not think this is right. You need to call a routine when getnewblk()
is unable to find a buffer to recycle.

As I understand, in your situation with lot of managed buffers, the dirty
queue could be just empty.
> 
> Example proof-of-concept (will be cleaned up) change for nandfs:
> http://people.freebsd.org/~raj/patches/misc/nandfs_vfs_highdirtybuf.diff
> 
> Does this look reasonable?
> 
> -- 
> Mateusz Guzik <mjg semihalf.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20120511/bf730b2c/attachment.pgp


More information about the svn-src-projects mailing list