client: Makes quota optional
Make quota optional. This commit basically reverts the
commit
da9f1d829484fe35e6d5839c19afa371e444c194
This is done to give 'mgr' libcephfs connection right to bypass
quota. The mgr/volumes plugin maintains configuration files
with in the directory where the user has enforced quota. So
when the quota is met, certain mgr/volumes apis don't work as
intended. e.g., When subvolumegroup quota is met, the group's
subvolume removal with '--retain-snapshots' fails.
Fixes: https://tracker.ceph.com/issues/53509
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
f365a9a5fe465b5d5cc81e5d4dd136bd8989cc20)
Conflicts:
src/common/options/mds-client.yaml.in
- pacific release not having yamls to store config hence added option in
src/common/options.cc