The patch titled md: Change ENOTSUPP to EOPNOTSUPP has been added to the -mm tree. Its filename is md-change-enotsupp-to-eopnotsupp.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: NeilBrown <neilb@xxxxxxx> Because that is what you get if a BIO_RW_BARRIER isn't supported! Signed-off-by: Neil Brown <neilb@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/md/raid1.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/md/raid1.c~md-change-enotsupp-to-eopnotsupp drivers/md/raid1.c --- 25/drivers/md/raid1.c~md-change-enotsupp-to-eopnotsupp Fri Apr 28 16:40:41 2006 +++ 25-akpm/drivers/md/raid1.c Fri Apr 28 16:40:41 2006 @@ -315,7 +315,7 @@ static int raid1_end_write_request(struc if (r1_bio->bios[mirror] == bio) break; - if (error == -ENOTSUPP && test_bit(R1BIO_Barrier, &r1_bio->state)) { + if (error == -EOPNOTSUPP && test_bit(R1BIO_Barrier, &r1_bio->state)) { set_bit(BarriersNotsupp, &conf->mirrors[mirror].rdev->flags); set_bit(R1BIO_BarrierRetry, &r1_bio->state); r1_bio->mddev->barriers_work = 0; @@ -1404,7 +1404,7 @@ static void raid1d(mddev_t *mddev) unplug = 1; } else if (test_bit(R1BIO_BarrierRetry, &r1_bio->state)) { /* some requests in the r1bio were BIO_RW_BARRIER - * requests which failed with -ENOTSUPP. Hohumm.. + * requests which failed with -EOPNOTSUPP. Hohumm.. * Better resubmit without the barrier. * We know which devices to resubmit for, because * all others have had their bios[] entry cleared. _ Patches currently in -mm which might be from neilb@xxxxxxx are md-avoid-oops-when-attempting-to-fix-read-errors-on-raid10.patch md-fixed-refcounting-locking-when-attempting-read-error-correction-in-raid10.patch md-change-enotsupp-to-eopnotsupp.patch md-improve-detection-of-lack-of-barrier-support-in-raid1.patch md-fix-rdev-nr_pending-count-when-retrying-barrier-requests.patch fix-dcache-race-during-umount.patch fix-dcache-race-during-umount-fix.patch prune_one_dentry-tweaks.patch remove-softlockup-from-invalidate_mapping_pages.patch make-address_space_operations-invalidatepage-return-void-reiser4.patch md-dm-reduce-stack-usage-with-stacked-block-devices.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