Bart Van Assche
ca5beb76c3
dm mpath: micro-optimize the hot path relative to MPATHF_QUEUE_IF_NO_PATH
...
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 (or bio) 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 bit has to be tested in
the hot path to decide whether or not a request must be pushed back and
also that m->lock does not have to be taken in the hot path.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
Reviewed-by: Hannes Reinecke <hare@suse.com >
Signed-off-by: Mike Snitzer <snitzer@redhat.com >
2017-04-27 17:08:45 -04:00
..
2017-03-02 08:42:38 +01:00
2017-04-27 17:08:41 -04:00
2016-12-08 22:01:47 -08:00
2016-05-04 12:39:35 -07:00
2017-03-07 11:30:16 -05:00
2017-03-07 11:30:16 -05:00
2017-03-07 11:30:16 -05:00
2017-03-07 11:30:16 -05:00
2017-03-07 13:28:33 -05:00
2017-03-07 13:28:33 -05:00
2016-06-10 15:15:44 -04:00
2017-03-07 13:28:31 -05:00
2017-03-07 13:28:31 -05:00
2016-12-16 00:13:41 +02:00
2017-04-27 17:08:41 -04:00
2017-03-07 13:28:31 -05:00
2017-03-07 13:28:31 -05:00
2017-03-31 11:41:05 -04:00
2014-01-16 13:44:11 -05:00
2017-03-07 13:28:31 -05:00
2017-03-31 11:33:44 -04:00
2017-04-27 17:08:44 -04:00
2017-04-27 12:08:31 -04:00
2017-04-24 12:04:32 -04:00
2017-04-27 17:08:41 -04:00
2015-11-04 21:19:53 -08:00
2016-01-08 20:03:05 -05:00
2016-12-13 15:01:31 -05:00
2017-04-27 12:16:32 -04:00
2016-11-21 09:51:57 -05:00
2017-04-27 17:08:44 -04:00
2016-06-10 15:15:44 -04:00
2017-04-24 12:04:32 -04:00
2015-10-31 19:06:00 -04:00
2015-04-15 12:10:20 -04:00
2016-10-07 14:42:05 -07:00
2016-11-01 09:43:26 -06:00
2017-04-27 17:08:45 -04:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:42 -05:00
2016-12-13 10:19:16 -08:00
2017-03-27 12:08:07 -04:00
2016-08-07 14:41:02 -06:00
2017-02-17 00:54:09 -05:00
2017-04-27 17:08:40 -04:00
2017-01-27 15:08:35 -07:00
2016-02-22 22:34:42 -05:00
2016-11-01 09:43:26 -06:00
2016-01-08 20:03:05 -05:00
2016-08-07 14:41:02 -06:00
2017-02-16 14:17:07 -05:00
2015-06-17 12:40:40 -04:00
2017-04-24 12:04:32 -04:00
2015-10-31 19:06:06 -04:00
2016-06-10 15:15:44 -04:00
2017-04-27 17:08:44 -04:00
2017-01-27 15:08:35 -07:00
2017-04-27 17:08:41 -04:00
2016-07-20 12:43:35 -04:00
2017-04-24 14:58:10 -04:00
2017-04-24 15:37:04 -04:00
2015-12-10 10:39:03 -05:00
2017-04-24 15:37:04 -04:00
2017-04-24 15:37:04 -04:00
2016-08-07 14:41:02 -06:00
2017-04-27 17:08:44 -04:00
2017-04-27 17:08:44 -04:00
2017-02-15 11:24:54 -08:00
2017-03-30 11:17:08 -04:00
2017-02-24 14:42:19 -08:00
2017-02-13 09:17:50 -08:00
2017-03-24 15:49:07 -04:00
2016-09-21 09:09:44 -07:00
2016-05-09 09:24:03 -07:00
2017-03-02 08:42:29 +01:00
2017-02-15 11:24:54 -08:00
2017-02-24 14:42:19 -08:00
2017-02-24 14:42:19 -08:00
2015-08-13 12:31:57 -06:00
2017-03-02 08:42:29 +01:00
2017-02-19 22:04:25 -08:00
2017-03-27 11:13:47 -04:00
2017-03-02 08:42:29 +01:00
2017-03-27 11:13:47 -04:00
2017-02-24 14:42:19 -08:00
2016-11-22 09:14:28 -08:00