summaryrefslogtreecommitdiff
path: root/fs/dlm/recover.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2024-06-10 15:02:31 -0500
committerDavid Teigland <teigland@redhat.com>2024-06-10 15:11:46 -0500
commit4f5957a980d023405eb45bd31258fc8488a3acb1 (patch)
tree5adef7a46c6e537661df073d073e2b38a1859189 /fs/dlm/recover.h
parentfa0b54f17afe5c7449b1f0de3eb8a372f637ed30 (diff)
dlm: change list and timer names
The old terminology of "toss" and "keep" is no longer an accurate description of the rsb states and lists, so change the names to "inactive" and "active". The old names had also been copied into the scanning code, which is changed back to use the "scan" name. - "active" rsb structs have lkb's attached, and are ref counted. - "inactive" rsb structs have no lkb's attached, are not ref counted. - "scan" list is for rsb's that can be freed after a timeout period. - "slow" lists are for infrequent iterations through active or inactive rsb structs. - inactive rsb structs that are directory records will not be put on the scan list, since they are not freed based on timeouts. - inactive rsb structs that are not directory records will be put on the scan list to be freed, since they are not longer needed. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/recover.h')
-rw-r--r--fs/dlm/recover.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/recover.h b/fs/dlm/recover.h
index efc79a6e577d..ec69896462fb 100644
--- a/fs/dlm/recover.h
+++ b/fs/dlm/recover.h
@@ -25,7 +25,7 @@ int dlm_recover_master_reply(struct dlm_ls *ls, const struct dlm_rcom *rc);
int dlm_recover_locks(struct dlm_ls *ls, uint64_t seq,
const struct list_head *root_list);
void dlm_recovered_lock(struct dlm_rsb *r);
-void dlm_clear_toss(struct dlm_ls *ls);
+void dlm_clear_inactive(struct dlm_ls *ls);
void dlm_recover_rsbs(struct dlm_ls *ls, const struct list_head *root_list);
#endif /* __RECOVER_DOT_H__ */