Set the auto-reflush flag if the flusher is unable to completely flush
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 12 Jan 2009 21:46:20 +0000 (13:46 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 12 Jan 2009 21:46:20 +0000 (13:46 -0800)
commit5c667a24d6f71ecb8735c064088ba0a342a05cc8
treef7d8a25d999982303b626d599fc006e35fae5b97
parenta7856df6a52efc341f8e569819d1f88250c3e526
Set the auto-reflush flag if the flusher is unable to completely flush
an inode due to dependencies or memory considerations.

This should hopefully solve reported 'vinvalbuf: dirty bufs' panics,
which occur when VOP_FSYNC() returns before the inode is completely
flushed.

Reported-by: "Justin C. Sherrill" <justin@shiningsilence.com>
sys/vfs/hammer/hammer_inode.c