commit | 041bd1a1fc737cd73b0b8a9f74909191a8acc9fe | [log] [tgz] |
---|---|---|
author | Daniel Wagner <dwagner@suse.de> | Wed Sep 01 11:25:24 2021 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon Sep 06 10:03:11 2021 +0200 |
tree | d0f1e9048e46c2f5f04232a7e7f8ebe8737a4eb3 | |
parent | b58da2d270dbcc67db73f15028774d27c85e16d7 [diff] |
nvme: only call synchronize_srcu when clearing current path The function nmve_mpath_clear_current_path returns true if the current path has changed. In this case we have to wait for all concurrent submissions to finish. But if we didn't change the current path, there is no point in waiting for another RCU period to finish. Signed-off-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>