From: Christoph Hellwig <hch@lst.de> To: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org Subject: support for multi-range discard requests V3 Date: Wed, 8 Feb 2017 14:46:46 +0100 [thread overview] Message-ID: <20170208134650.5380-1-hch@lst.de> (raw) 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. Changes since V2: - really fix nr of NVMe ranges to 256 - free range on error Changes since V1: - hardcoded max ranges for NVMe to 255 - minor cleanups
WARNING: multiple messages have this Message-ID (diff)
From: hch@lst.de (Christoph Hellwig) Subject: support for multi-range discard requests V3 Date: Wed, 8 Feb 2017 14:46:46 +0100 [thread overview] Message-ID: <20170208134650.5380-1-hch@lst.de> (raw) 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. Changes since V2: - really fix nr of NVMe ranges to 256 - free range on error Changes since V1: - hardcoded max ranges for NVMe to 255 - minor cleanups
next reply other threads:[~2017-02-08 13:46 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-08 13:46 Christoph Hellwig [this message] 2017-02-08 13:46 ` support for multi-range discard requests V3 Christoph Hellwig 2017-02-08 13:46 ` [PATCH 1/4] block: move req_set_nomerge to blk.h Christoph Hellwig 2017-02-08 13:46 ` Christoph Hellwig 2017-02-08 13:46 ` [PATCH 2/4] block: enumify ELEVATOR_*_MERGE Christoph Hellwig 2017-02-08 13:46 ` Christoph Hellwig 2017-02-08 13:46 ` [PATCH 3/4] block: optionally merge discontiguous discard bios into a single request Christoph Hellwig 2017-02-08 13:46 ` Christoph Hellwig 2017-02-08 13:46 ` [PATCH 4/4] nvme: support ranged discard requests Christoph Hellwig 2017-02-08 13:46 ` Christoph Hellwig 2017-02-15 10:45 ` Sagi Grimberg 2017-02-15 10:45 ` Sagi Grimberg 2017-02-08 17:45 ` support for multi-range discard requests V3 Jens Axboe 2017-02-08 17:45 ` Jens Axboe 2017-02-15 10:43 ` Sagi Grimberg 2017-02-15 10:43 ` Sagi Grimberg
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20170208134650.5380-1-hch@lst.de \ --to=hch@lst.de \ --cc=axboe@kernel.dk \ --cc=linux-block@vger.kernel.org \ --cc=linux-nvme@lists.infradead.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.