block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARD
Secure erase is a very different operation from discard in that it is a data integrity operation vs hint. Fully split the limits and helper infrastructure to make the separation more clear. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Martin K. Petersen <martin.petersen@oracle.com> Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> [drbd] Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> [nifs2] Acked-by: Jaegeuk Kim <jaegeuk@kernel.org> [f2fs] Acked-by: Coly Li <colyli@suse.de> [bcache] Acked-by: David Sterba <dsterba@suse.com> [btrfs] Acked-by:
Chao Yu <chao@kernel.org> Reviewed-by:
Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20220415045258.199825-27-hch@lst.de Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- block/blk-core.c 1 addition, 1 deletionblock/blk-core.c
- block/blk-lib.c 45 additions, 19 deletionsblock/blk-lib.c
- block/blk-mq-debugfs.c 0 additions, 1 deletionblock/blk-mq-debugfs.c
- block/blk-settings.c 15 additions, 1 deletionblock/blk-settings.c
- block/fops.c 1 addition, 1 deletionblock/fops.c
- block/ioctl.c 35 additions, 8 deletionsblock/ioctl.c
- drivers/block/drbd/drbd_receiver.c 3 additions, 2 deletionsdrivers/block/drbd/drbd_receiver.c
- drivers/block/rnbd/rnbd-clt.c 2 additions, 2 deletionsdrivers/block/rnbd/rnbd-clt.c
- drivers/block/rnbd/rnbd-srv-dev.h 1 addition, 1 deletiondrivers/block/rnbd/rnbd-srv-dev.h
- drivers/block/xen-blkback/blkback.c 8 additions, 7 deletionsdrivers/block/xen-blkback/blkback.c
- drivers/block/xen-blkback/xenbus.c 1 addition, 4 deletionsdrivers/block/xen-blkback/xenbus.c
- drivers/block/xen-blkfront.c 3 additions, 2 deletionsdrivers/block/xen-blkfront.c
- drivers/md/bcache/alloc.c 1 addition, 1 deletiondrivers/md/bcache/alloc.c
- drivers/md/dm-table.c 3 additions, 5 deletionsdrivers/md/dm-table.c
- drivers/md/dm-thin.c 2 additions, 2 deletionsdrivers/md/dm-thin.c
- drivers/md/md.c 1 addition, 1 deletiondrivers/md/md.c
- drivers/md/raid5-cache.c 3 additions, 3 deletionsdrivers/md/raid5-cache.c
- drivers/mmc/core/queue.c 1 addition, 1 deletiondrivers/mmc/core/queue.c
- drivers/nvme/target/io-cmd-bdev.c 1 addition, 1 deletiondrivers/nvme/target/io-cmd-bdev.c
- drivers/target/target_core_file.c 1 addition, 1 deletiondrivers/target/target_core_file.c
Loading
Please register or sign in to comment