static const int STATE_REPAIRSTATS = (1<<19);
static const int STATE_MISSINGOBJS = (1<<20);
static const int STATE_EVALSTALECAPS = (1<<21);
+ static const int STATE_QUEUEDEXPORTPIN = (1<<22);
// orphan inode needs notification of releasing reference
static const int STATE_ORPHAN = STATE_NOTIFYREF;
friend class StrayManager;
friend class CDir;
friend class CInodeExport;
- friend class C_CInode_ExportPin;
// ---------------------------
CInode(MDCache *c, bool auth=true, snapid_t f=2, snapid_t l=CEPH_NOSNAP) :
projected_parent.pop_front();
}
-private:
- void maybe_export_pin();
public:
+ void maybe_export_pin(bool update=false);
void set_export_pin(mds_rank_t rank);
mds_rank_t get_export_pin(bool inherit=true) const;
bool is_exportable(mds_rank_t dest) const;