Christoph Hellwig 41f2df6289 block: BARRIER request should imply SYNC
A barrier request should by defintion have priority in get_request
and let the queue be unplugged immediately as it's blocking all forward
progress due to the queue draining.

Most filesystems already get this implicitly by the way how submit_bh
treats the buffer_ordered flag, and gfs2 sets it explicitly.  But btrfs
and XFS are still forgetting to set the flag, as is blkdev_issue_flush
and some places in DM/MD.

For XFS on metadata heavy workloads this gives a consistent speedup
in the 2-3% range.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-08-07 18:15:44 +02:00
..
2010-05-27 09:12:41 -07:00
2010-05-19 22:41:57 -04:00
2010-04-30 14:52:51 -05:00
2009-06-17 00:36:36 -04:00
2010-06-04 17:16:30 -04:00
2010-01-26 22:22:26 -05:00
2010-05-27 22:15:33 -04:00
2010-03-19 08:05:10 +01:00
2010-05-27 22:15:33 -04:00
2009-09-24 07:21:03 -07:00
2010-05-21 18:31:16 -04:00
2010-05-11 17:43:58 +02:00
2010-03-06 11:26:29 -08:00
2010-05-21 18:31:16 -04:00
2010-03-08 16:55:37 +01:00
2010-05-21 18:31:17 -04:00
2010-05-18 08:57:00 +10:00
2010-05-21 18:31:17 -04:00
2010-06-10 19:08:34 +02:00
2010-05-27 09:12:56 -07:00
2010-03-12 15:52:32 -08:00
2010-05-21 18:31:17 -04:00
2010-06-29 10:38:22 -07:00
2010-06-01 12:42:12 +02:00