• J
    MD: Remember the last sync operation that was performed · c4a39551
    Jonathan Brassow 提交于
    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: NJonathan Brassow <jbrassow@redhat.com>
    Signed-off-by: NNeilBrown <neilb@suse.de>
    c4a39551
md.c 224.0 KB