It's either 'first', for the first for the oldest old_inode.
// SNAP
+snapid_t CInode::get_oldest_snap()
+{
+ snapid_t t = first;
+ if (!old_inodes.empty())
+ t = old_inodes.begin()->second.first;
+ return MIN(t, first);
+}
+
old_inode_t& CInode::cow_old_inode(snapid_t follows, inode_t *pi)
{
assert(follows >= first);
inode.nlink > 1 || // there are remote links, possibly snapped, that will need to find me
old_inodes.size(); // once multiversion, always multiversion. until old_inodes gets cleaned out.
}
+ snapid_t get_oldest_snap();
loff_t last_journaled; // log offset for the last time i was journaled
//loff_t last_open_journaled; // log offset for the last journaled EOpen