MOUNT_OPTIONS = dict(
- # this is default ever since linux 2.6.39 / 3.0, but we'll delay a
- # moment before removing it fully because we did have some issues
- # with ext4 before the xatts-in-leveldb work, and it seemed that
- # user_xattr helped
- ext4='user_xattr',
+ btrfs='noatime,user_subvol_rm_allowed',
+ # user_xattr is default ever since linux 2.6.39 / 3.0, but we'll
+ # delay a moment before removing it fully because we did have some
+ # issues with ext4 before the xatts-in-leveldb work, and it seemed
+ # that user_xattr helped
+ ext4='noatime,user_xattr',
+ xfs='noatime',
)
DEFAULT_FS_TYPE = 'ext4'
MOUNT_OPTIONS = dict(
- ext4='user_xattr',
+ btrfs='noatime,user_subvol_rm_allowed',
+ ext4='noatime,user_xattr',
+ xfs='noatime',
)
MKFS_ARGS = dict(
+ btrfs=[
+ '-m', 'single',
+ '-l', '32768',
+ '-n', '32768',
+ ],
xfs=[
# xfs insists on not overwriting previous fs; even if we wipe
# partition table, we often recreate it exactly the same way,
# so we'll see ghosts of filesystems past
'-f',
+ '-i', 'size=2048',
],
)