diff options
author | Keith Busch <keith.busch@intel.com> | 2012-11-09 16:33:05 -0700 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-03-26 14:18:58 -0400 |
commit | 0e5e4f0e56aca0df1d5648db0be9028bd573b25c (patch) | |
tree | a83ab74e90bae5e0a20e6fd9dd03924cac1f3db9 /drivers/block/pktcdvd.c | |
parent | a12183c62717ac4579319189a00f5883a18dff08 (diff) | |
download | talos-op-linux-0e5e4f0e56aca0df1d5648db0be9028bd573b25c.tar.gz talos-op-linux-0e5e4f0e56aca0df1d5648db0be9028bd573b25c.zip |
NVMe: Add discard support for capable devices
This adds discard support to block queues if the nvme device is capable of
deallocating blocks as indicated by the controller's optional command support.
A discard flagged bio request will submit an NVMe deallocate Data Set
Management command for the requested blocks.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'drivers/block/pktcdvd.c')
0 files changed, 0 insertions, 0 deletions