]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
block: remove REQ_HARDBARRIER
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Nov 2010 13:54:09 +0000 (14:54 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 10 Nov 2010 13:54:09 +0000 (14:54 +0100)
commit02e031cbc843b010e72fcc05c76113c688b2860f
tree9f68559ec3acc39bcc4ce2ff87043a094eaa2e8f
parent00e375e7e962f938f6b3c93e4cd097a5e26cc788
block: remove REQ_HARDBARRIER

REQ_HARDBARRIER is dead now, so remove the leftovers.  What's left
at this point is:

 - various checks inside the block layer.
 - sanity checks in bio based drivers.
 - now unused bio_empty_barrier helper.
 - Xen blockfront use of BLKIF_OP_WRITE_BARRIER - it's dead for a while,
   but Xen really needs to sort out it's barrier situaton.
 - setting of ordered tags in uas - dead code copied from old scsi
   drivers.
 - scsi different retry for barriers - it's dead and should have been
   removed when flushes were converted to FS requests.
 - blktrace handling of barriers - removed.  Someone who knows blktrace
   better should add support for REQ_FLUSH and REQ_FUA, though.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
block/elevator.c
drivers/block/aoe/aoeblk.c
drivers/block/loop.c
drivers/block/xen-blkfront.c
drivers/scsi/scsi_error.c
drivers/usb/storage/uas.c
include/linux/bio.h
include/linux/blk_types.h
include/linux/blkdev.h
kernel/trace/blktrace.c