]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: check metadata pool not cluster is full 19830/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 19 Dec 2017 19:37:14 +0000 (11:37 -0800)
committerShinobu Kinjo <shinobu@redhat.com>
Mon, 8 Jan 2018 04:08:52 +0000 (13:08 +0900)
commit98e3e2a7c840f985baa4ae82a9ce943e85b99657
tree55d68521b42af8cc90f66fe09ad861c127b6d2b2
parentd94942cdfe8fc9fccf9fd79ece8bc828d608e713
mds: check metadata pool not cluster is full

CEPH_OSDMAP_FULL flag was obsoleted by
b4ca5ae462c6f12ca48b787529938862646282cd. So, check if the metadata pool is
full instead which is a decent proxy (as metadata operations can still
proceed). However, the data pool may still be full which would result in some
operations still not completing (like inode backtrace updates).

Fixes: http://tracker.ceph.com/issues/22483
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit d678415bb03afd1a67edaa0eac031a6a9cf3fbf9)
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Server.cc