jbd2: Modify ASYNC_COMMIT code to not rely on queue draining on barrier
commitf73bee49855fe968e87af18e44f2d17e1e675e74
authorJan Kara <jack@suse.cz>
Wed, 18 Aug 2010 13:56:56 +0000 (18 15:56 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 10 Sep 2010 10:35:39 +0000 (10 12:35 +0200)
treeb8c4bc3ac8fcc6c2ef066bf641e70b7522392c12
parent4524451ef7e88c64a868a8f5a0b49bda73beb2a3
jbd2: Modify ASYNC_COMMIT code to not rely on queue draining on barrier

Currently JBD2 relies blkdev_issue_flush() draining the queue when ASYNC_COMMIT
feature is set. This property is going away so make JBD2 wait for buffers it
needs on its own before submitting the cache flush.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/jbd2/commit.c