]> git.ipfire.org Git - thirdparty/mdadm.git/commit
monitor: read_and_act: log status when called
authorMartin Wilck <mwilck@arcor.de>
Tue, 30 Jul 2013 21:18:30 +0000 (23:18 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 31 Jul 2013 02:57:20 +0000 (12:57 +1000)
commit39da26ecf51137f9b7c6574cc725b061025c523f
tree48280d71b65c51027005555b498bc8ea5341b982
parentce6844b99c5a014b2d840088a5a73c1ee26dacba
monitor: read_and_act: log status when called

read_and_act() currently prints a debug message only very late.
Print the status seen by mdmon right away, to track mdmon's
actions more closely. Add a time stamp to observe long delays
between read_and_act calls, e.g. caused by meta data writes.

Signed-off-by: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
monitor.c