[lvm-devel] PATCH: Replace mlockall() with interal implementation

Zdenek Kabelac zkabelac at redhat.com
Fri Mar 5 09:57:32 UTC 2010


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.

Zdenek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlock_v3.patch
Type: text/x-patch
Size: 14154 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100305/8ea75fff/attachment.bin>


More information about the lvm-devel mailing list