Jonathan Brassow c4a3955145 MD: Remember the last sync operation that was performed
MD:  Remember the last sync operation that was performed

This patch adds a field to the mddev structure to track the last
sync operation that was performed.  This is especially useful when
it comes to what is recorded in mismatch_cnt in sysfs.  If the
last operation was "data-check", then it reports the number of
descrepancies found by the user-initiated check.  If it was a
"repair" operation, then it is reporting the number of
descrepancies repaired.  etc.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2013-06-26 12:38:24 +10:00
..
2013-03-01 22:45:51 +00:00
2007-05-09 12:30:47 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2007-10-20 02:01:26 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2012-07-03 12:55:41 +01:00
2005-04-16 15:20:36 -07:00