• Chris Mason's avatar
    Btrfs: add mount -o ssd_spread to spread allocations out · 451d7585
    Chris Mason authored
    
    
    Some SSDs perform best when reusing block numbers often, while
    others perform much better when clustering strictly allocates
    big chunks of unused space.
    
    The default mount -o ssd will find rough groupings of blocks
    where there are a bunch of free blocks that might have some
    allocated blocks mixed in.
    
    mount -o ssd_spread will make sure there are no allocated blocks
    mixed in.  It should perform better on lower end SSDs.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    451d7585
extent-tree.c 181 KB