nvme: support ranged discard requests
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Feb 2017 13:46:50 +0000 (14:46 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 8 Feb 2017 20:43:10 +0000 (13:43 -0700)
commitb35ba01ea6979125e9c23fb322517748278f15e6
tree41ad3c16c12d34660e135b6ffd6be7424d3ba305
parent1e739730c5b9ea80a2f25e9cf6e1025d47e3d8ed
nvme: support ranged discard requests

NVMe supports up to 256 ranges per DSM command, so wire up support
for ranged discards up to that limit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
include/linux/nvme.h