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 /tools | |
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 'tools')
-rw-r--r-- | tools/playbooks/multinode_setup/configure_loopback.yaml | 2 | ||||
-rw-r--r-- | tools/playbooks/saio_single_node_setup/setup_saio.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/playbooks/multinode_setup/configure_loopback.yaml b/tools/playbooks/multinode_setup/configure_loopback.yaml index 5234393e9..f1b134e8d 100644 --- a/tools/playbooks/multinode_setup/configure_loopback.yaml +++ b/tools/playbooks/multinode_setup/configure_loopback.yaml @@ -31,7 +31,7 @@ state: directory - name: mount /mnt/sdb1 - mount: name=/mnt/sdb1 src=/srv/swift-disk fstype=xfs opts="loop,noatime,nodiratime,logbufs=8" dump=0 passno=0 state=mounted + mount: name=/mnt/sdb1 src=/srv/swift-disk fstype=xfs opts="loop,noatime" dump=0 passno=0 state=mounted - name: create sub-partitions file: diff --git a/tools/playbooks/saio_single_node_setup/setup_saio.yaml b/tools/playbooks/saio_single_node_setup/setup_saio.yaml index 539b89e24..60d39c5f3 100644 --- a/tools/playbooks/saio_single_node_setup/setup_saio.yaml +++ b/tools/playbooks/saio_single_node_setup/setup_saio.yaml @@ -29,7 +29,7 @@ file: path=/mnt/sdb1 state=directory - name: mount /mnt/sdb1 - mount: name=/mnt/sdb1 src=/srv/swift-disk fstype=xfs opts="loop,noatime,nodiratime,logbufs=8" dump=0 passno=0 state=mounted + mount: name=/mnt/sdb1 src=/srv/swift-disk fstype=xfs opts="loop,noatime" dump=0 passno=0 state=mounted - name: create sub-partitions file: > |