]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: share max size to client who is allowed for WR cap
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 15 Apr 2014 08:06:07 +0000 (16:06 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 15 Apr 2014 08:30:06 +0000 (16:30 +0800)
commitf6db1bc2b684a7fb1884aa300ba95d3928342391
treec230995e779189c98db3837d055dc8019a089910
parent908fa5edccbc39a29352cf7aebdd99cca1b052ff
mds: share max size to client who is allowed for WR cap

WR cap is allowed for the loner client when filelock is in excl->mix
state. MDS should share max size with the loner client in this case.
Otherwise the client may wait for the max size forever.

Fixes: #8092
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/Locker.cc