Re: [md PATCH 05/22] md/raid5: don't complete make_request on barrieruntil writes are scheduled
From: Neil Brown <hidden>
Date: 2010-01-28 02:44:22
From: Neil Brown <hidden>
Date: 2010-01-28 02:44:22
On Thu, 21 Jan 2010 13:07:44 -0800 "Tirumala Reddy Marri" [off-list ref] wrote:
I tried these patches and I still don’t see barriers working. Do I have to enable to device mapper to see the effect ?
You would need to be sure that the component devices of md0 honour barriers. So try the same test on each component. If they all work but md0 doesn't, then ask again and I will look into it. You would need to give more details, like what sort of array md0 is, what it's component are, and exactly what kernel you are using. NeilBrown
-------- log ----- ~ # ~ # mount -o barrier=1 /dev/md0 /mnt/tmpmnt/ kjournald starting. Commit interval 5 seconds EXT3 FS on md0, internal journal EXT3-fs: mounted filesystem with writeback data mode. ~ # touch /mnt/tmpmnt/test ~ # sync JBD: barrier-based sync failed on md0 - disabling barriers ~ #
-- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html