[lvm-devel] [PATCH 0/9] Udev latency

Alasdair G Kergon agk at redhat.com
Fri Dec 10 17:00:37 UTC 2010


On Wed, Dec 08, 2010 at 01:57:46PM +0100, Zdenek Kabelac wrote:
> WARNING  - Not a final patch - this is patch for discussion WARNING
 
We had a discussion about this yesterday.

Zdenek is working on an updated patchset which addresses all the issues
we could come up with.

Summary of the (revised) patchset:
- Reuse a single cookie for consecutive operations instead of creating
a new one every time.
- Release the cookie (with fs_unlock etc.) only when unlocking the VG (avoids
need for extra cluster message and avoids races between commands if it were
done later).  
- Only do the udev_wait when an 'immediate' dev is encountered during tree
processing (cmirror) and when an LV just activated needs to be opened (just
set_lv needs this).

Alasdair




More information about the lvm-devel mailing list