Displaying 2 results from an estimated 2 matches for "ds_delayed_orphan_scan_work".
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
...evel);
+out:
+ return;
+}
+
+/* Queue timer to recover orphans after ORPHAN_SCAN_SCHEDULE_TIMEOUT */
+void ocfs2_delayed_orphan_scan_work(struct work_struct *work)
+{
+ struct ocfs2_delayed_orphan_scan *ds;
+ struct ocfs2_super *osb;
+ ds = container_of(work, struct ocfs2_delayed_orphan_scan,
+ ds_delayed_orphan_scan_work.work);
+ osb = ds->ds_osb;
+
+ mutex_lock(&ds->ds_lock);
+ ocfs2_queue_delayed_orphan_scan(osb);
+ schedule_delayed_work(&ds->ds_delayed_orphan_scan_work,
+ msecs_to_jiffies(ocfs2_orphan_scan_timeout()) >> 2);
+ mutex_unlock(&ds->ds_lock);
+}
+
+void ocfs2_delay...