Displaying 2 results from an estimated 2 matches for "ocfs2_queue_delayed_orphan_scan".
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
...ocfs2_force_read_journal(struct inode *inode);
static int ocfs2_recover_node(struct ocfs2_super *osb,
int node_num, int slot_num);
@@ -1841,6 +1844,112 @@ bail:
return status;
}
+static inline int ocfs2_orphan_scan_timeout(void)
+{
+ return ORPHAN_SCAN_SCHEDULE_TIMEOUT;
+}
+
+/*
+ * ocfs2_queue_delayed_orphan_scan, gets an EX lock on ds_lockres and checks
+ * LVB for recent scan time. If scanned recently than timeout, new scans are
+ * not queued, otherwise it queues recovery of all orphan slots and updates
+ * LVB with CURRENT_TIME
+ * What if the times are not in sync between nodes???
+ */
+void ocfs2_que...
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.