[lvm-devel] PATCH: Replace mlockall() with interal implementation
Zdenek Kabelac
zkabelac at redhat.com
Fri Mar 5 10:09:08 UTC 2010
On 5.3.2010 10:57, Zdenek Kabelac wrote:
> 3rd version of mlockall() replace.
>
> Fixing some comments:
>
> - new text for lvm.conf
> - using '1' for success for _maps_line
> - checking sscanf ret value
> - moved default string values to const char array in front of the source code.
> - added simple statistic for size of locked areas and issue internal error
> if the size is different for mlock/munlock
> - add some more libs to list of unlocked maps - (though some checks are still
> needed here.
> - slightly changed debug output.
Argh, just after posting I've noticed, there is one unmerged patch in my git
for '0'-'1' return value change for fallback mlockall() case.
So here is the updated patch v4.
Zdenek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlock_v4.patch
Type: text/x-patch
Size: 14154 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100305/20f06748/attachment.bin>
More information about the lvm-devel
mailing list