diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2013-06-25 08:23:59 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-26 04:38:24 +0200 |
commit | c4a39551451666229b4ea5e8aae8ca0131d00665 (patch) | |
tree | e14b0de074da6e062275795b6530e5661d7c5acf /tools | |
parent | md: fix buglet in RAID5 -> RAID0 conversion. (diff) | |
download | linux-c4a39551451666229b4ea5e8aae8ca0131d00665.tar.xz linux-c4a39551451666229b4ea5e8aae8ca0131d00665.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions