The patch titled dm raid1: switch rh_in_sync to blocking in do_reads has been added to the -mm tree. Its filename is dm-raid1-switch-rh_in_sync-to-blocking-in-do_reads.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: dm raid1: switch rh_in_sync to blocking in do_reads From: Jonathan Brassow <jbrassow@xxxxxxxxxx> The call to rh_in_sync() in do_reads() should be allowed to block. It is in the mirror worker thread which already permits blocking operations. This will be needed to support clustered mirroring which will perform network operations. Signed-off-by: Jonathan Brassow <jbrassow@xxxxxxxxxx> Signed-off-by: Alasdair G Kergon <agk@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/md/dm-raid1.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/md/dm-raid1.c~dm-raid1-switch-rh_in_sync-to-blocking-in-do_reads drivers/md/dm-raid1.c --- a/drivers/md/dm-raid1.c~dm-raid1-switch-rh_in_sync-to-blocking-in-do_reads +++ a/drivers/md/dm-raid1.c @@ -741,7 +741,7 @@ static void do_reads(struct mirror_set * /* * We can only read balance if the region is in sync. */ - if (rh_in_sync(&ms->rh, region, 0)) + if (rh_in_sync(&ms->rh, region, 1)) m = choose_mirror(ms, bio->bi_sector); else m = ms->default_mirror; _ Patches currently in -mm which might be from jbrassow@xxxxxxxxxx are dm-log-fault-detection.patch dm-log-report-fault-status.patch dm-raid1-add-handle_errors-feature-flag.patch dm-raid1-fix-to-commit-pending-clear-region-requests.patch dm-raid1-switch-rh_in_sync-to-blocking-in-do_reads.patch dm-log-fix-resume-failed-log-device.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html