[PATCH] md: Make MD device-is-idle test check whole device, not partition.
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).
Showing
Please register or sign in to comment