Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56b7cf95 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: skip mds sync on forced unmount



Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent b736b3d9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2748,6 +2748,9 @@ void ceph_mdsc_sync(struct ceph_mds_client *mdsc)
{
	u64 want_tid, want_flush;

	if (mdsc->client->mount_state == CEPH_MOUNT_SHUTDOWN)
		return;

	dout("sync\n");
	mutex_lock(&mdsc->mutex);
	want_tid = mdsc->last_tid;