]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: set total and used to 4KB if quota size less than 4KB
authorXiubo Li <xiubli@redhat.com>
Tue, 28 Jun 2022 02:42:10 +0000 (10:42 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 8 Mar 2023 10:57:05 +0000 (18:57 +0800)
commit7490cc52119dedc7aae9eeaa87b407b0c9cebf4e
tree0d19ea7788cd6d1f5abe2f6443d240befea2ddfa
parent001aa2c4d811232f9c93acaf1039599623b6e903
client: set total and used to 4KB if quota size less than 4KB

For quota size less than 4KB, report the total=used=4KB,free=0
when quota is full and total=free=4KB, used=0 otherwise.

This is from Kotresh's kceph's fix.

Fixes: https://tracker.ceph.com/issues/56397
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc