]> git.karo-electronics.de Git - linux-beck.git/commit
block: add a separate operation type for secure erase
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Jun 2016 14:00:36 +0000 (16:00 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 9 Jun 2016 15:52:25 +0000 (09:52 -0600)
commit288dab8a35a0bde426a09870943c8d3ee3a50dab
tree483fd3eb60ff8f44d149fb28d3b79e5212645104
parent56332f02a562390a3198525ad78cb4f558805c0f
block: add a separate operation type for secure erase

Instead of overloading the discard support with the REQ_SECURE flag.
Use the opportunity to rename the queue flag as well, and remove the
dead checks for this flag in the RAID 1 and RAID 10 drivers that don't
claim support for secure erase.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
12 files changed:
block/blk-core.c
block/blk-lib.c
block/blk-merge.c
drivers/block/xen-blkback/xenbus.c
drivers/block/xen-blkfront.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/mmc/card/block.c
drivers/mmc/card/queue.c
include/linux/blk_types.h
include/linux/blkdev.h
kernel/trace/blktrace.c