writeback: merely wakeup flusher thread if work allocation fails for WB_SYNC_NONE
authorChristoph Hellwig <hch@infradead.org>
Fri, 11 Sep 2009 07:47:56 +0000 (09:47 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:16:18 +0000 (15:16 +0200)
commitf0fad8a530e7cbad5f686dbca3079d1a626a3882
tree8e2260cd493a9088c6523dcd0a9f00e34d34a328
parent1fe06ad89255c211fe100d7f690d10b161398df8
writeback: merely wakeup flusher thread if work allocation fails for WB_SYNC_NONE

Since it's an opportunistic writeback and not a data integrity action,
don't punt to blocking writeback. Just wakeup the thread and it will
flush old data.

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c