]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: broadcast quota message to client when disable quota 26292/head
authorJunhui Tang <tangjunhui@sangfor.com.cn>
Thu, 24 Jan 2019 08:33:58 +0000 (16:33 +0800)
committerPrashant D <pdhange@redhat.com>
Wed, 6 Feb 2019 00:00:58 +0000 (19:00 -0500)
commitbe45663777978efdacbd58e833ed56f643be5a67
tree070a2f314c0b7d7dbe2892ec94689ccf7ccba4b3
parentebd075b48ce910584682c939d2ab2c92d4e5eb14
mds: broadcast quota message to client when disable quota

When disable quota by setting quota.max_files or quota.max_bytes
to zero, client does not receive the quota broadcast message.

Signed-off-by: Junhui Tang <tangjunhui@sangfor.com.cn>
Fixes: https://tracker.ceph.com/issues/38054
(cherry picked from commit 061ace2eb7c08d271db4d5d08ffa91ae832715f5)
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc