]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix incorrect assertion in Server::_dir_is_nonempty() 13459/head
authorYan, Zheng <zyan@redhat.com>
Wed, 18 Jan 2017 08:23:49 +0000 (16:23 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 16 Feb 2017 14:39:25 +0000 (22:39 +0800)
commitebb2f73e48092c8d2ecf18c75ce70f1a88c9bb22
tree50d21732e07bdd4cee2c7ddd5e24714adaa25db4
parent9f1e1ce394c7779420ef27bda793bc719cdb9096
mds: fix incorrect assertion in Server::_dir_is_nonempty()

when filelock is in XLOCKDONE state. client of xlocker can rdlock
the filelock. In that case, only client of xlocker can read the lock.

Fixes: http://tracker.ceph.com/issues/18708
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit fe4ab52b30079a785be053a9fd0197d6990737fe)
src/mds/Server.cc