• Neil Brown's avatar
    [PATCH] md: Make MD device-is-idle test check whole device, not partition. · 2aa80952
    Neil Brown authored
    When resyncing an array, md will back off if it detects other
    activity on the device.  This used to be based on the whole
    device, not the partition, but recent changes made it only
    check IO on the partition.
    
    This patch causes all sync_io accounting to be done on the
    whole device (bdev->bd_contains).
    2aa80952
md.c 73.1 KB