If/when we do this on dentries, _then_ we can use a virtual function, and
rewrite the single user (scatter_writebehind) to generalize to non-inodes.
inode_t *pi = in->project_inode();
pi->version = in->pre_dirty();
- lock->get_parent()->finish_scatter_gather_update(lock->get_type());
+ in->finish_scatter_gather_update(lock->get_type());
lock->start_flush();
EUpdate *le = new EUpdate(mds->mdlog, "scatter_writebehind");
virtual bool is_lock_waiting(int type, uint64_t mask) { assert(0); return false; }
virtual void clear_dirty_scattered(int type) { assert(0); }
- virtual void finish_scatter_gather_update(int type) { }
// ---------------------------------------------
// ordering