2010383 gfs2_jadd: Use fallocate to preallocate journals

Authored and Committed by andyp 3 years ago
    gfs2_jadd: Use fallocate to preallocate journals
    
    Fall back to writes for ancient kernels and use larger writes in that
    case to reduce the chance of fragmentation.
    
    Signed-off-by: Andrew Price <anprice@redhat.com>
    
        
file modified
+40 -8