summaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2013-06-25 01:23:59 -0500
committerNeilBrown <neilb@suse.de>2013-06-26 12:38:24 +1000
commitc4a39551451666229b4ea5e8aae8ca0131d00665 (patch)
treee14b0de074da6e062275795b6530e5661d7c5acf /Documentation/device-mapper
parenteea136d69f9facb2d3807386bbac1e6b1161795f (diff)
downloadblackbird-op-linux-c4a39551451666229b4ea5e8aae8ca0131d00665.tar.gz
blackbird-op-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 'Documentation/device-mapper')
-rw-r--r--Documentation/device-mapper/dm-raid.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/device-mapper/dm-raid.txt b/Documentation/device-mapper/dm-raid.txt
index 2bb3a6823dc7..ef8ba9fa58c4 100644
--- a/Documentation/device-mapper/dm-raid.txt
+++ b/Documentation/device-mapper/dm-raid.txt
@@ -223,3 +223,4 @@ Version History
1.5.0 Add message interface to allow manipulation of the sync_action.
New status (STATUSTYPE_INFO) fields: sync_action and mismatch_cnt.
1.5.1 Add ability to restore transiently failed devices on resume.
+1.5.2 'mismatch_cnt' is zero unless [last_]sync_action is "check".
OpenPOWER on IntegriCloud