]> sourceware.org Git - lvm2.git/commit
If anything bad happens and unlocking fails
authorMilan Broz <mbroz@redhat.com>
Wed, 10 Aug 2011 16:07:53 +0000 (16:07 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 10 Aug 2011 16:07:53 +0000 (16:07 +0000)
commit311d319e0a47e4cbe3c35d88fbcd8c09322c326c
tree06e28285cfee844efc34ebe53cdc416c376776df
parent6447934cff9966c3a052913c1b38e210a269f771
If anything bad happens and unlocking fails
(here clvmd crashed in the middle of operation),
lock is not removed from cache - here is one example:

locking/cluster_locking.c:497       Locking VG V_vg_test UN (VG) (0x6)
locking/cluster_locking.c:113   Error writing data to clvmd: Broken pipe
locking/locking.c:399         <backtrace>
locking/locking.c:461         <backtrace>
  Internal error: Volume Group vg_test was not unlocked

Code should always remove lock info from lvmcache and update counters
on unlock, even if unlock fails.
WHATS_NEW
lib/locking/locking.c
This page took 0.030984 seconds and 5 git commands to generate.