Re: [dm-devel] [PATCH v2 11/13] dm-mpath: Micro-optimize the hot path

2017-04-27 Thread Mike Snitzer
On Thu, Apr 27 2017 at 1:11P -0400, Bart Van Assche wrote: > Instead of checking MPATHF_QUEUE_IF_NO_PATH, > MPATHF_SAVED_QUEUE_IF_NO_PATH and the no_flush flag to decide whether > or not to push back a request if there are no paths available, only > clear

[dm-devel] [PATCH v2 11/13] dm-mpath: Micro-optimize the hot path

2017-04-27 Thread Bart Van Assche
Instead of checking MPATHF_QUEUE_IF_NO_PATH, MPATHF_SAVED_QUEUE_IF_NO_PATH and the no_flush flag to decide whether or not to push back a request if there are no paths available, only clear MPATHF_QUEUE_IF_NO_PATH in queue_if_no_path() if no_flush has not been set. The result is that only a single