[lvm-devel] [PATCH 0/9 v2]: Enforce an alphabetical lock ordering for vgname locks.

Alasdair G Kergon agk at redhat.com
Wed Sep 2 13:26:26 UTC 2009


On Thu, Aug 13, 2009 at 05:26:54PM -0400, Dave Wysochanski wrote:
> This patch series is still WIP but implements the alphabetical lock ordering.

Please add the requirement to the locking documentation in locking.h.

 * LCK_VG:
 ...
 *   If more than one lock needs to be held simultaneously, they must be 
 *   acquired in alphabetical order of 'vol' (to avoid deadlocks).

Alasdair




More information about the lvm-devel mailing list