• Nix's avatar
    md: report sector of stripes with check mismatches · e1539036
    Nix authored
    This makes it possible, with appropriate filesystem support, for a
    sysadmin to tell what is affected by the mismatch, and whether
    it should be ignored (if it's inside a swap partition, for
    instance).
    
    We ratelimit to prevent log flooding: if there are so many
    mismatches that ratelimiting is necessary, the individual messages
    are relatively unlikely to be important (either the machine is
    swapping like crazy or something is very wrong with the disk).
    Signed-off-by: default avatarNick Alcock <nick.alcock@oracle.com>
    Signed-off-by: default avatarShaohua Li <shli@fb.com>
    e1539036
raid5.c 238 KB