Displaying 2 results from an estimated 2 matches for "ds_lockr".
Did you mean:
ds_lock
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
...+2383,26 @@ void ocfs2_inode_unlock(struct inode *inode,
mlog_exit_void();
}
+int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, int ex)
+{
+ int status = 0;
+ int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR;
+ struct ocfs2_lock_res *lockres;
+
+ lockres = &osb->osb_delayed_orphan_scan->ds_lockres;
+ status = ocfs2_cluster_lock(osb, lockres, level, 0, 0);
+ return status;
+}
+
+void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, int ex)
+{
+ int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR;
+ struct ocfs2_lock_res *lockres;
+
+ lockres = &osb->osb_delayed_orphan_scan->ds_lockres;
+...
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.