[dm-devel] [PATCHES] new barriers - 2
Mikulas Patocka
mpatocka at redhat.com
Thu Jan 29 14:43:14 UTC 2009
Hi
Here I announce 2nd version my new barrier support patches:
http://people.redhat.com/mpatocka/patches/kernel/barriers/
They are against 2.6.29-rc3.
The most important enhancement is that with these patches, device mapper
is able to send barrier requests to lower devices.
So it should be safe to enable write cache with hdparm -W 1 command on
disks used in lvm and get enhanced performance because of write caching.
(prior to this patch, if you enabled write cache, you'd get misordered
writes if you used journaling filesystems, because the barriers wouldn't
get through to the real devices).
The barriers should work on linear volumes, mirrors, snapshots and
multipath volumes. On mirrors and multipath, cache flush errors are
ignored (this may be further improved).
Mikulas
More information about the dm-devel
mailing list