| From: |
| Christoph Hellwig <hch-AT-lst.de> |
| To: |
| Jens Axboe <axboe-AT-kernel.dk> |
| Subject: |
| support for multi-range discard requests |
| Date: |
| Tue, 7 Feb 2017 17:46:54 +0100 |
| Message-ID: |
| <20170207164658.32449-1-hch@lst.de> |
| Cc: |
| linux-block-AT-vger.kernel.org, linux-nvme-AT-lists.infradead.org |
Hi all,
this series adds support for merging discontiguous discard bios into a
single request if the driver supports it. This reduces the number of
discards sent to the device by about a factor of 5-6 for typical
workloads on NVMe, and for slower devices that use I/O scheduling
the number will probably be even bigger but I've not implemented
that support yet.