bcd94c5 sanlock: use hugepages to avoid splitting read io

Authored and Committed by teigland 10 months ago
    sanlock: use hugepages to avoid splitting read io
    
    Use 2MB transparent hugepages via madvise(MADV_HUGEPAGE) to
    reduce or eliminate splitting read io's for lease areas.
    This requires allocating 2MB of memory for 1MB lease areas,
    leading to some minimal wasted allocation.
    
        
file modified
+2 -0
file modified
+39 -11
file modified
+7 -7
file modified
+0 -3
file modified
+8 -0
file modified
+85 -29
file modified
+11 -0
file modified
+3 -0
file modified
+5 -0