test: Add statfs test case for mixed quotas
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit
2b057ec7bb40855e3be3cb0de12b63f8c10b450e)
client: account for mixed quotas in statfs
In statfs, when the quota root for a dir is discovered,
it uses that dir to base values for max_files and max_bytes.
This can be an issue when a dir is found with only one of two potential quota
fields. Take for instance, a dir with only max_files set and parent dir
has only max_bytes set. During a statfs call, it will then use the max_files
value for provided dir, but does not have a value for max_bytes. In this case,
this behavior will cause the size of the filesystem to be displayed.
Instead, find the quota root for max_files and max_bytes separately. This will
allow for mixed quotas to inherit missing values from its parent. In the above
example, max_files from current dir and max_bytes from parent dir will be
displayed.
Fixes: https://tracker.ceph.com/issues/73487
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
(cherry picked from commit
dd02ea9b18502b87ce815eba4286ae3516e334b3)
Merge pull request #66464 from cbodley/wip-doc-release-os-recommendation-tentacle
tentacle: doc: add Tentacle to os recommendations
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
doc: remove redundant note about tested container hosts
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
c77be615ebede6d948c94a3ef618e53dc79c9920)
doc: remove old distros from os recommendations
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
86b0a158d076d3fd11e1300cc14dc7e767d0180f)
doc: remove os recommendations for eol releases
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
39974503b2fbb0118890e2826e8d91fa23f1d3be)
doc/dev: add os-recommendations.rst to release checklist
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
97c24aaaa844b4b5d59228c11e9cdb759a8212f2)
doc: add Tentacle to os recommendations
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
459df3293a6ac374394980d880a76b74b9652b4a)
doc: remove Octopus and Centos7 from os recommendations
cleanup to prepare for tentacle
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
5ad48c95e1477930b3d8598917785039412876c4)
doc: Update os-recommendations.rst to remove empty rows
- Removing rows in tables without any supported versions
Signed-off-by: Joseph Mundackal <jmundackal@bloomberg.net>
(cherry picked from commit
ab30d60998b926b546cf6ef424ef70498f5d3163)