New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mds: fix incorrect assertion in Server::_dir_is_nonempty() #12973

Merged
merged 1 commit into from Jan 27, 2017

Conversation

Projects
None yet
3 participants
@ukernel
Member

ukernel commented Jan 18, 2017

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

Signed-off-by: Yan, Zheng zyan@redhat.com

@jcsp

jcsp approved these changes Jan 19, 2017

Looks good, please add a Fixes line to the commit

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/18578
Signed-off-by: Yan, Zheng <zyan@redhat.com>

@jcsp jcsp merged commit 20db6c6 into ceph:master Jan 27, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@ukernel ukernel deleted the ukernel:wip-18578 branch Feb 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment