linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm/Monitor.c - never removes MD devices from statelist
@ 2011-09-11 18:32 Alexander Lyakas
  2011-09-12  3:36 ` NeilBrown
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Lyakas @ 2011-09-11 18:32 UTC (permalink / raw)
  To: linux-raid

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-21  5:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-11 18:32 mdadm/Monitor.c - never removes MD devices from statelist Alexander Lyakas
2011-09-12  3:36 ` NeilBrown
2011-09-12  8:32   ` Alexander Lyakas
2011-09-21  5:06     ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).