diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-05 19:21:25 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-08 11:25:38 -0600 |
commit | bcd069bb250acf6088b60d189ab3ec3ae8dd11a5 (patch) | |
tree | 23e889a930b66d402e796a1e173ed6375c5f0e1c /block/blk-mq-debugfs.c | |
parent | e6bd931284b4b9bc17a2995257a0769370bc5202 (diff) | |
download | lwn-bcd069bb250acf6088b60d189ab3ec3ae8dd11a5.tar.gz lwn-bcd069bb250acf6088b60d189ab3ec3ae8dd11a5.zip |
scsi: sd: Remove LBPRZ dependency for discards
Separating discards and zeroout operations allows us to remove the LBPRZ
block zeroing constraints from discards and honor the device preferences
for UNMAP commands.
If supported by the device, we'll also choose UNMAP over one of the
WRITE SAME variants for discards.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions