block: remove the BLKDEV_IFL_BARRIER flag
authorChristoph Hellwig <hch@infradead.org>
Wed, 18 Aug 2010 09:29:22 +0000 (05:29 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 10 Sep 2010 10:35:40 +0000 (12:35 +0200)
commit8c5553678237b7121355108e03c36086037d8975
tree7ecbc41837bf2dac6010230839e3312d6d33dd35
parent31725e65c7214b52b607eba705fc4f306be4d5a5
block: remove the BLKDEV_IFL_BARRIER flag

Remove support for barriers on discards, which is unused now.  Also
remove the DISCARD_NOBARRIER I/O type in favour of just setting the
rw flags up locally in blkdev_issue_discard.

tj: Also remove DISCARD_SECURE and use REQ_SECURE directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-lib.c
include/linux/blkdev.h
include/linux/fs.h