All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCHES] new barriers - 2
@ 2009-01-30 10:15 Tomasz Chmielewski
  2009-01-30 17:04 ` [dm-devel] " Mike Snitzer
  0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Chmielewski @ 2009-01-30 10:15 UTC (permalink / raw)
  To: dm-devel

> 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.

I guess it still won't work for those using LVM on md (Linux software 
RAID) because md lacks barrier support? Do you know if someone is 
working on it?


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCHES] new barriers - 2
@ 2009-01-29 14:43 Mikulas Patocka
  0 siblings, 0 replies; 4+ messages in thread
From: Mikulas Patocka @ 2009-01-29 14:43 UTC (permalink / raw)
  To: device-mapper development; +Cc: Alasdair G Kergon, Milan Broz

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-17 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 10:15 [PATCHES] new barriers - 2 Tomasz Chmielewski
2009-01-30 17:04 ` [dm-devel] " Mike Snitzer
2009-04-17 14:26   ` Ric Wheeler
  -- strict thread matches above, loose matches on Subject: below --
2009-01-29 14:43 Mikulas Patocka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.