multipath-tools: Add rbd to the hwtable
Quoted 3 lines · Mike Christie
Add rbd to hwtable. These defaults are for the HA type of setup supported by the checker. We do no support features like multibus at the dm-multipath level yet.
Please use this patch as guide:
https://patchwork.kernel.org/patch/9225521/
Quoted 13 lines
Signed-off-by Mike Christie <[email protected]>--- libmultipath/hwtable.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)libmultipath/hwtable.c +0
-0@@ -1206,6 +1206,21 @@ static struct hwentry default_hw[] = { .pgfailback = 30, .minio = 128, },
libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1218
Quoted 10 lines
libmultipath/hwtable.c +10
-0+ { + .vendor = "Ceph", + .product = "RBD", + .features = DEFAULT_FEATURES, + .hwhandler = DEFAULT_HWHANDLER, + .pgpolicy = FAILOVER, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = NO_PATH_RETRY_FAIL, + .checker_name = RBD, + .user_friendly_names = USER_FRIENDLY_NAMES_ON,
USER_FRIENDLY_NAMES_ON is highly inadvisable.
Quoted 3 lines
libmultipath/hwtable.c +3
-0+ .uid_attribute = "ID_UID", + .prio_name = PRIO_CONST, + .deferred_remove = DEFERRED_REMOVE_ON,