case CEPH_LOCK_IFILE:
::encode(inode.size, bl);
+ ::encode(inode.max_size, bl);
::encode(inode.mtime, bl);
::encode(inode.atime, bl);
+ ::encode(inode.time_warp_seq, bl);
break;
case CEPH_LOCK_IDIR:
case CEPH_LOCK_IFILE:
::decode(inode.size, p);
+ ::decode(inode.max_size, p);
::decode(inode.mtime, p);
::decode(inode.atime, p);
+ ::decode(inode.time_warp_seq, p);
break;
case CEPH_LOCK_IDIR:
list<CInode*> lsi;
CInode *cur = in;
while (parent) {
- assert(cur->is_auth() || !primary_dn);
+ //assert(cur->is_auth() || !primary_dn); // this breaks the rename auth twiddle hack
assert(parent->is_auth());
// opportunistically adjust parent dirfrag