if (dir->dentries.count(dname))
dn = dir->dentries[dname];
- dout(12) << "insert_dentry_inode " << dname << " ino " << ist->ino
+ dout(12) << "insert_dentry_inode " << dname << " ino " << ist->ino
<< " size " << ist->size
<< " mtime " << ist->mtime
<< " dmask " << dmask
dout(2) << "unmounting" << dendl;
unmounting = true;
+ timer.cancel_event(tick_event);
+ tick_event = 0;
+
// NOTE: i'm assuming all caches are already flushing (because all files are closed).
assert(fd_map.empty());
int get_action() { return h.action; }
int get_mask() { return le16_to_cpu(h.mask); }
- __u64 get_ino() { return le64_to_cpu(h.ino); }
+ inodeno_t get_ino() { return inodeno_t(le64_to_cpu(h.ino)); }
MClientLease() : Message(CEPH_MSG_CLIENT_LEASE) {}
MClientLease(int ac, int m, __u64 i) :
void print(ostream& out) {
out << "client_lease(a=" << get_lease_action_name(get_action())
<< " mask " << get_mask();
- out << " " << inodeno_t(get_ino());
+ out << " " << get_ino();
if (dname.length())
out << "/" << dname;
out << ")";
struct InodeStat {
//inode_t inode;
- __u64 ino;
+ inodeno_t ino;
ceph_file_layout layout;
utime_t ctime, mtime, atime;
unsigned mode, uid, gid, nlink, rdev;