Return-Path: From: Christoph Hellwig To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org Subject: support for multi-range discard requests Date: Tue, 7 Feb 2017 17:46:54 +0100 Message-Id: <20170207164658.32449-1-hch@lst.de> List-ID: 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.