- osdmon needs to lower-bound old osdmap versions it keeps around?
mds
+- whats with the 'clear if dirtyscattered' bit in decode_import_inode()?
+
- proper handling of cache expire messages during rejoin phase?
-> i think cache expires are fine; the rejoin_ack handler just has to behave if rejoining items go missing
- try_remove_unlinked_dn thing
#include "MDSMap.h"
#include "MDS.h"
#include "MDCache.h"
+#include "Locker.h"
#include "MDLog.h"
#include "LogSegment.h"
if (!replica_map.empty()) get(PIN_REPLICATED);
replica_nonce = 0; // no longer defined
+
+ // did we import some dirty scatterlock data?
+ if (dirty_old_rstat.size() ||
+ !(fnode.rstat == fnode.accounted_rstat))
+ cache->mds->locker->mark_updated_scatterlock(&inode->nestlock);
+ if (!(fnode.fragstat == fnode.accounted_fragstat))
+ cache->mds->locker->mark_updated_scatterlock(&inode->dirlock);
}