Skip to content
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

luminous: mds: check ongoing catter-gather process before capping log #17852

Merged
merged 1 commit into from Sep 22, 2017

Conversation

ukernel
Copy link
Contributor

@ukernel ukernel commented Sep 21, 2017

When deactivating mds, MDLog::trim() may start scatter-gather
process on mdsdir inode. Locker::scatter_writebehind() submits
log entry. So mds should make sure there is no scatter-gather
before capping log.

Fixes: http://tracker.ceph.com/issues/21467
Signed-off-by: "Yan, Zheng" zyan@redhat.com

When deactivating mds, MDLog::trim() may start scatter-gather
process on mdsdir inode. Locker::scatter_writebehind() submits
log entry. So mds should make sure there is no scatter-gather
before capping log.

Fixes: http://tracker.ceph.com/issues/21467
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
@ukernel ukernel added bug-fix cephfs Ceph File System labels Sep 21, 2017
@ukernel ukernel added this to the luminous milestone Sep 21, 2017
@ukernel ukernel changed the title mds: check ongoing catter-gather process before capping log luminous: mds: check ongoing catter-gather process before capping log Sep 21, 2017
@batrick batrick merged commit 97ab785 into ceph:luminous Sep 22, 2017
batrick added a commit that referenced this pull request Sep 22, 2017
* refs/remotes/upstream/pull/17852/head:
	mds: check ongoing catter-gather process before capping log

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
@ukernel ukernel deleted the luminous-21467 branch April 20, 2018 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants