Re: [dm-devel] [RFC PATCH 1/4] libmultipath: don't bother to reset default timeout value

2023-08-29 Thread Martin Wilck
On Fri, 2023-07-28 at 14:05 -0500, Benjamin Marzinski wrote: > by the time get_state() is rechecking the sysfs timeout value, > c->timeout has already been set.  The only reason why this check > exists > is to deal with the possiblity that the sysfs value has changed. If > the > sysfs value doesn't

[dm-devel] [RFC PATCH 1/4] libmultipath: don't bother to reset default timeout value

2023-07-28 Thread Benjamin Marzinski
by the time get_state() is rechecking the sysfs timeout value, c->timeout has already been set. The only reason why this check exists is to deal with the possiblity that the sysfs value has changed. If the sysfs value doesn't exist (which likely means that the device is not a scsi device), then th