commit | 0e5e4f0e56aca0df1d5648db0be9028bd573b25c | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Fri Nov 09 16:33:05 2012 -0700 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue Mar 26 14:18:58 2013 -0400 |
tree | a83ab74e90bae5e0a20e6fd9dd03924cac1f3db9 | |
parent | a12183c62717ac4579319189a00f5883a18dff08 [diff] |
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>