search for: orphan_scan

Displaying 1 result from an estimated 1 matches for "orphan_scan".

2009 Apr 30
1
orphan cleanup
Srini, Ok, you can go ahead and cook up the background orphan cleaner. Now, we can do this in a workqueue, a thread, or a timer. I don't see why a timer doesn't work. When the timer fires, you do this: 1. Take EX on a new orphan_scan lock. 2. check the LVB for the last scan time. If it's less than the scan timeout, reset the timer for (timeout - last scan), drop the EX, and exit. 3. Call ocfs2_queue_recovery_completion() for all slots with NULL, NULL, NULL on the non-orphan-dir arguments. This sets up the orphan...