Skip to contentSkip to conversation

no_path_retry: NO_PATH_RETRY_FAIL vs NO_PATH_RETRY_UNDEF

DISCUSSION Xose Vazquez Perez 2 participants 2 messages Nov 7, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi,

NO_PATH_RETRY_UNDEF is 0

no_path_retry Specify what to do when all paths are down. Possible values are:

value > 0 number of retries until disable I/O queueing.

fail for immediate failure (no I/O queueing).

queue for never stop I/O queueing. Similar to queue_if_no_path.

Is there any real difference?

Thank you.

#1 lore raw
Quoted 10 lines · Xose Vazquez Perez

Hi,

NO_PATH_RETRY_UNDEF is 0

no_path_retry Specify what to do when all paths are down. Possible values are:

value > 0 number of retries until disable I/O queueing.

Quoted 7 lines

fail for immediate failure (no I/O queueing).

queue for never stop I/O queueing. Similar to queue_if_no_path.

Is there any real difference?

The idea was that if you have NO_PATH_RETRY_UNDEF, then you just use whatever is in the features line. If you have NO_PATH_RETRY_FAIL, that takes priority over the features line.

So if someone has

features "1 queue_if_no_path"

then NO_PATH_RETRY_UNDEF gets you the same results as NO_PATH_RETRY_QUEUE.

-Ben

Quoted 3 lines

Thank you.