Use WRITE_BARRIER in blkdev_issue_flush(), not (1<<BIO_RW_BARRIER)
commit2ebca85abcfcbaaf1c0b242e39fc88ad3da90090
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Mon, 11 Aug 2008 16:07:08 +0000 (11 17:07 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:02 +0000 (9 08:56 +0200)
treea8fc6fbc0ba4a258b8252625158e1e30dd255fd5
parent35ba8f7083e87602b695d6eaca38a6464d5b74db
Use WRITE_BARRIER in blkdev_issue_flush(), not (1<<BIO_RW_BARRIER)

Barriers should be submitted with the WRITE flag set.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-barrier.c