The InfiniBox config already sets no_path_retry to "fail", so it won't
ever queue IO. That means setting flush_on_last_del to "always" is
redundant, since queueing is always disabled. Remove the
flush_on_last_del parameter, to make it easier for users to override the
default behavior if desired.

Signed-off-by: Benjamin Marzinski <[email protected]>
---
 libmultipath/hwtable.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index ce600030..51b15eab 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1160,7 +1160,6 @@ static struct hwentry default_hw[] = {
                .no_path_retry = NO_PATH_RETRY_FAIL,
                .minio         = 1,
                .minio_rq      = 1,
-               .flush_on_last_del = FLUSH_ALWAYS,
                .fast_io_fail  = 15,
        },
        /*
-- 
2.43.0


Reply via email to