From: Jonathan Brassow Date: Tue, 25 Jun 2013 06:23:59 +0000 (-0500) Subject: MD: Remember the last sync operation that was performed X-Git-Tag: v3.11-rc1~91^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a39551451666229b4ea5e8aae8ca0131d00665;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed