mdadm/Monitor.c - never removes MD devices from statelist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,
looking at the code of Monitor.c and doing some tests with it, I see
that it is capable of detecting new arrays, when they appear in
/proc/mdstat (if --scan is given). However, once array is added to
'statelist', it is never removed from there. Is this intentional?
Perhaps only if --scan is given, and device disappears from
/proc/mdstat, then it should be removed from monitoring, otherwise it
could stick there forever, even though the array has been gone long
time ago. And if it appears again, it will be picked up anyways.

Thanks,
  Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux