From: Keith Busch Date: Fri, 9 Nov 2012 23:33:05 +0000 (-0700) Subject: NVMe: Add discard support for capable devices X-Git-Tag: v3.10-rc1~21^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e5e4f0e56aca0df1d5648db0be9028bd573b25c;p=pandora-kernel.git 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 Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed