diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-02-18 03:29:17 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-02-23 04:34:42 +0100 |
commit | 90a4323ccfeaa2ef35a8f4c6443ee5106453d961 (patch) | |
tree | 515f390ae9369e93d0da20e23f9413adeb4173cf /drivers/md/dm-path-selector.h | |
parent | dm mpath: push path selector locking down to path selectors (diff) | |
download | linux-90a4323ccfeaa2ef35a8f4c6443ee5106453d961.tar.xz linux-90a4323ccfeaa2ef35a8f4c6443ee5106453d961.zip |
dm path selector: remove 'repeat_count' return from .select_path hook
If a path selector has any use for a repeat_count it should be handled
locally and not depend on the dm-mpath core to be concerned with it.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-path-selector.h')
-rw-r--r-- | drivers/md/dm-path-selector.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/md/dm-path-selector.h b/drivers/md/dm-path-selector.h index e7d1fa8b0459..b6eb5365b1a4 100644 --- a/drivers/md/dm-path-selector.h +++ b/drivers/md/dm-path-selector.h @@ -50,13 +50,8 @@ struct path_selector_type { /* * Chooses a path for this io, if no paths are available then * NULL will be returned. - * - * repeat_count is the number of times to use the path before - * calling the function again. 0 means don't call it again unless - * the path fails. */ struct dm_path *(*select_path) (struct path_selector *ps, - unsigned *repeat_count, size_t nr_bytes); /* |