Displaying 2 results from an estimated 2 matches for "ocfs2_delayed_orphan_scan".
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
...t 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_queue_delayed_orphan_scan(struct ocfs2_super *osb)
+{
+ struct ocfs2_delayed_orphan_scan *ds;
+ int level = DLM_LOCK_EX;
+ struct timespec scan_time, now;
+ int status, i;
+
+ ds = osb->osb_delayed_orphan_scan;
+ if (!ds)
+ return;
+
+ status = ocfs2_orphan_scan_lock(osb, level);
+ if (status < 0) {
+ if (status != -EAGAIN)
+ mlog_errno(status);
+ goto out;
+ }
+
+ ocfs2_get...
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.