]> sourceware.org Git - lvm2.git/commit
Unlock memory for vg_write
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 18 Nov 2011 19:28:00 +0000 (19:28 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 18 Nov 2011 19:28:00 +0000 (19:28 +0000)
commit8deeeb07ea7b6c178791e7b57d45d8484b87b28a
treec2a3221ee44ec25f67ded5117d80da9111a9a128
parent37f274ced99754a2569fd1cf56c606cab5703f60
Unlock memory for vg_write

For write we do not need to hold memory locked.
This relaxes many conditions and avoid problems when allocating
a lot of memory for writting metadata buffers.
(In case of huge MDA size this would lead to mismatch between
locked and unlocked memory region size).

Add also internal check we are not writing in critical section.
WHATS_NEW
lib/metadata/metadata.c
This page took 0.033242 seconds and 5 git commands to generate.