diff options
author | Tim Burke <tim.burke@gmail.com> | 2020-05-03 00:42:09 -0700 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2020-05-03 00:43:57 -0700 |
commit | cb37d3acd6c876428d1f250d65ef2d01c2a2301a (patch) | |
tree | bc8d46623676b12a48933ba4b58321a869b7897e /docker | |
parent | 207e08c64bc933afbfd5f5c4ddca9a75a1c7d07f (diff) | |
download | swift-cb37d3acd6c876428d1f250d65ef2d01c2a2301a.tar.gz |
docs: Clean up mount options
* Stop specifying logbufs=8; that's the default
* Stop including nodiratime with noatime; the latter implies the former
Nothing wrong with being explicit, I suppose, but may as well keep the
mount options to what we can easily explain: we want noatime because
Swift does not use atime, so we don't want to lose any performance to
tracking atime.
Change-Id: I1e52b4368ad7eb375964eee5132bc50297536355
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/rootfs/etc/swift_build/build_devices | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/rootfs/etc/swift_build/build_devices b/docker/rootfs/etc/swift_build/build_devices index 90f1c9e6a..7588377dd 100755 --- a/docker/rootfs/etc/swift_build/build_devices +++ b/docker/rootfs/etc/swift_build/build_devices @@ -56,7 +56,7 @@ if [[ $MY_STORAGE_TYPE == "internal_devices" ]] || [[ $MY_STORAGE_TYPE == "exter # echo "created storage device /dev/swift-d$i of $DEV_SIZE"; mkfs.xfs -f -L D$i -i size=512 /dev/$device; echo " created XFS file system on device /dev/$device"; - mount -t xfs -o noatime,nodiratime,logbufs=8 /dev/$device /srv/node/$device; + mount -t xfs -o noatime /dev/$device /srv/node/$device; echo " mounted /dev/$device as /srv/node/$device"; done fi |