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
2013-03-01 22:45:51 +00:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:51 +00:00
2013-05-10 14:37:21 +01:00
2012-07-30 17:25:16 -07:00
2013-05-10 14:37:16 +01:00
2013-05-10 14:37:16 +01:00
2013-03-01 22:45:47 +00:00
2012-12-21 20:23:38 +00:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00