commit | 56b7cf9581fa0486657102a6fb8efabc3eadeba1 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon May 03 15:22:00 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon May 17 15:25:30 2010 -0700 |
tree | 3ad9967f1198e2848f51c0ac0077a6340ed48bcb | |
parent | b736b3d9d0ba52693701373d7cd88aaad8e5bed3 [diff] |
ceph: skip mds sync on forced unmount Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index 35dbdad..0d451a8 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c
@@ -2748,6 +2748,9 @@ { 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;