summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-path-selector.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-02-17 21:29:17 -0500
committerMike Snitzer <snitzer@redhat.com>2016-02-22 22:34:42 -0500
commit90a4323ccfeaa2ef35a8f4c6443ee5106453d961 (patch)
tree515f390ae9369e93d0da20e23f9413adeb4173cf /drivers/md/dm-path-selector.h
parent9659f811446a67951127d4e81576204ffce9c86e (diff)
downloadlinux-90a4323ccfeaa2ef35a8f4c6443ee5106453d961.tar.bz2
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.h5
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);
/*