]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Makes quota optional
authorKotresh HR <khiremat@redhat.com>
Tue, 26 Apr 2022 07:16:45 +0000 (12:46 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Wed, 22 Jun 2022 06:53:42 +0000 (12:23 +0530)
commit1e396102bcf2a9213aa5029ea84814684e4d4cc5
tree2d7f92da92f29df984280d72635940d8e0c2877b
parent4674e6aa0de4ac56619c6e4b5e18fff109560372
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
src/client/Client.cc
src/common/options.cc