summaryrefslogtreecommitdiffstats
path: root/drivers/block/pktcdvd.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2012-11-09 16:33:05 -0700
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2013-03-26 14:18:58 -0400
commit0e5e4f0e56aca0df1d5648db0be9028bd573b25c (patch)
treea83ab74e90bae5e0a20e6fd9dd03924cac1f3db9 /drivers/block/pktcdvd.c
parenta12183c62717ac4579319189a00f5883a18dff08 (diff)
downloadtalos-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
OpenPOWER on IntegriCloud