nvme-multipath: optimize path selection in queue-depth policy#805
Open
blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
Open
nvme-multipath: optimize path selection in queue-depth policy#805blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
Conversation
Move the zero-depth check inside the optimized path case to enable early exit. It avoids redundant condition checks for non-optimized paths, and eliminates the per-iteration check at the end of the loop, improving the performance. Cc: Aviv Coro <aviv.coro@ibm.com> Cc: Bart Van Assche <bvanassche@acm.org> Cc: Benjamin Marzinski <bmarzins@redhat.com> Cc: Brian Bunker <brian@purestorage.com> Cc: Caleb Sander <csander@purestorage.com> Cc: Chaitanya Kulkarni <kch@nvidia.com> Cc: Chris Leech <cleech@redhat.com> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Clayton Skaggs <claytons@netapp.com> Cc: Constantine Gavrilov <cgavrilov@infinidat.com> Cc: Daniel Wagner <wagi@kernel.org> Cc: David Santamaría Rogado <howl.nsp@gmail.com> Cc: Dmitry V. Levin <ldv@strace.io> Cc: Ewan D. Milne <emilne@redhat.com> Cc: Ewan Milne <emilne@redhat.com> Cc: Hannes Reinecke <hare@suse.de> Cc: James Smart <jsmart2021@gmail.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: John Meneghini <jmeneghi@redhat.com> Cc: Jyoti Rani <jrani@purestorage.com> Cc: Keith Busch <kbusch@kernel.org> Cc: Li Xiaokeng <lixiaokeng@huawei.com> Cc: Marco Patalano <mpatalan@redhat.com> Cc: Martin Belanger <martin.belanger@dell.com> Cc: Martin George <Martin.George@netapp.com> Cc: Martin Wilck <mwilck@suse.com> Cc: Matthias Rudolph <Matthias.Rudolph@hitachivantara.com> Cc: Maurizio Lombardi <mlombard@arkamax.eu> Cc: NetApp RDAC team <ng-eseries-upstream-maintainers@netapp.com> Cc: Nilay Shroff <nilay@linux.ibm.com> Cc: Randy Jennings <randyj@purestorage.com> Cc: Sagi Grimberg <sagi@grimberg.me> Cc: Simon Schricker <sschricker@suse.de> Cc: Steven Schremmer <Steve.Schremmer@netapp.com> Cc: Thomas Song <tsong@purestorage.com> Cc: Uday Shankar <ushankar@purestorage.com> Cc: Vasuki Manikarnike <vasuki.manikarnike@hpe.com> Cc: Wayne Berthiaume <Wayne.Berthiaume@dell.com> Cc: Zou Ming <zouming.zouming@huawei.com> Cc: BLOCK-ML <linux-block@vger.kernel.org> Cc: DM_DEVEL-ML <dm-devel@lists.linux.dev> Cc: NVME-ML <linux-nvme@lists.infradead.org> Cc: SCSI-ML <linux-scsi@vger.kernel.org> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Author
|
Upstream branch: 6d35786 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for series with
subject: nvme-multipath: optimize path selection in queue-depth policy
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1090517