A SCSI device can have for more states than just 'offline' and
'running'. In fact, any device _not_ in state 'running' is
unaccessible to I/O, so running a path checker on these devices
will cause the checker to be delayed and hence stall the entire
daemon.
This patch updates the path_offline() function to return the
actual device state. Path checkers will only be run if the
state is PATH_UP. A 'blocked' device state will be translated
into PATH_PENDING, causing the checkerloop to skip this device
and recheck as soon as possible.
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
02-03-2010, 01:33 PM
Christophe Varoqui
Update path_offline() to return device status
> This patch updates the path_offline() function to return the
> actual device state. Path checkers will only be run if the
> state is PATH_UP. A 'blocked' device state will be translated
> into PATH_PENDING, causing the checkerloop to skip this device
> and recheck as soon as possible.
>
Nice addition indeed,
applied and pushed.
--
cvaroqui,
http://www.opensvc.com
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel