From 0dc75a94ce64a6e31633d021a777cf54c4016f20 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 3 Nov 2010 11:03:37 -0700 Subject: [PATCH] ceph: remove bad assert for old frag stat It's normal for old fragstat info to be mismatched (stat != accounted_stat). Signed-off-by: Sage Weil --- src/mds/CInode.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 149b240e2167b..69130eee70775 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -1329,8 +1329,6 @@ void CInode::decode_lock_state(int type, bufferlist& bl) mdlog->submit_entry(le, new C_Inode_FragUpdate(this, dir, mut)); } else { dout(10) << fg << " accounted_fragstat unchanged at v" << fragstat.version << dendl; - assert(pf->fragstat == fragstat); - assert(pf->accounted_fragstat == fragstat); } } } @@ -1415,8 +1413,6 @@ void CInode::decode_lock_state(int type, bufferlist& bl) mdlog->submit_entry(le, new C_Inode_FragUpdate(this, dir, mut)); } else { dout(10) << fg << " accounted_rstat unchanged at v" << rstat.version << dendl; - assert(pf->rstat == rstat); - assert(pf->accounted_rstat == rstat); } } } -- 2.39.5