dlm: change list and timer names
authorDavid Teigland <teigland@redhat.com>
Mon, 10 Jun 2024 20:02:31 +0000 (15:02 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 10 Jun 2024 20:11:46 +0000 (15:11 -0500)
commit4f5957a980d023405eb45bd31258fc8488a3acb1
tree5adef7a46c6e537661df073d073e2b38a1859189
parentfa0b54f17afe5c7449b1f0de3eb8a372f637ed30
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>
fs/dlm/debug_fs.c
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/lock.h
fs/dlm/lockspace.c
fs/dlm/member.c
fs/dlm/recover.c
fs/dlm/recover.h
fs/dlm/recoverd.c