2019-05-28 09:57:20 -07:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-18 08:59:31 -05:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-18 11:54:25 -05:00
|
|
|
|
2023-08-01 14:09:48 -04:00
|
|
|
|
2006-07-12 16:44:04 -05:00
|
|
|
|
2023-08-01 14:09:48 -04:00
|
|
|
|
2012-04-23 16:36:01 -05:00
|
|
|
|
2023-08-01 14:09:48 -04:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
2024-06-10 15:02:31 -05:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-18 08:58:15 -05:00
|
|
|
|
2024-04-02 15:18:03 -04:00
|
|
|
|
2007-05-18 08:58:15 -05:00
|
|
|
|
2024-06-10 15:02:31 -05:00
|
|
|
|
|
|
|
|
|
2022-06-22 14:45:23 -04:00
|
|
|
|
2023-08-01 14:09:48 -04:00
|
|
|
|
|
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
2024-04-15 14:39:39 -04:00
|
|
|
|
2012-05-10 10:18:07 -05:00
|
|
|
|
2012-03-08 12:37:12 -06:00
|
|
|
|
2024-04-02 15:18:01 -04:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
dlm: fixes for nodir mode
The "nodir" mode (statically assign master nodes instead
of using the resource directory) has always been highly
experimental, and never seriously used. This commit
fixes a number of problems, making nodir much more usable.
- Major change to recovery: recover all locks and restart
all in-progress operations after recovery. In some
cases it's not possible to know which in-progess locks
to recover, so recover all. (Most require recovery
in nodir mode anyway since rehashing changes most
master nodes.)
- Change the way nodir mode is enabled, from a command
line mount arg passed through gfs2, into a sysfs
file managed by dlm_controld, consistent with the
other config settings.
- Allow recovering MSTCPY locks on an rsb that has not
yet been turned into a master copy.
- Ignore RCOM_LOCK and RCOM_LOCK_REPLY recovery messages
from a previous, aborted recovery cycle. Base this
on the local recovery status not being in the state
where any nodes should be sending LOCK messages for the
current recovery cycle.
- Hold rsb lock around dlm_purge_mstcpy_locks() because it
may run concurrently with dlm_recover_master_copy().
- Maintain highbast on process-copy lkb's (in addition to
the master as is usual), because the lkb can switch
back and forth between being a master and being a
process copy as the master node changes in recovery.
- When recovering MSTCPY locks, flag rsb's that have
non-empty convert or waiting queues for granting
at the end of recovery. (Rename flag from LOCKS_PURGED
to RECOVER_GRANT and similar for the recovery function,
because it's not only resources with purged locks
that need grant a grant attempt.)
- Replace a couple of unnecessary assertion panics with
error messages.
Signed-off-by: David Teigland <teigland@redhat.com>
2012-04-26 15:54:29 -05:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
2023-08-01 14:09:48 -04:00
|
|
|
|
2023-08-01 14:09:47 -04:00
|
|
|
|
2023-08-01 14:09:48 -04:00
|
|
|
|
2023-08-01 14:09:45 -04:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
2022-06-22 14:45:23 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-17 11:05:50 -05:00
|
|
|
|
|
|
|
|
|
2022-06-22 14:45:21 -04:00
|
|
|
|
2006-07-12 16:44:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-30 15:06:16 -05:00
|
|
|
|
|
|
|
|
|
2007-05-29 08:46:00 -05:00
|
|
|
|
2006-07-12 16:44:04 -05:00
|
|
|
|
2021-11-02 15:17:22 -04:00
|
|
|
|
|
|
|
|
|
2021-11-02 15:17:23 -04:00
|
|
|
|
|
|
|
|
|
2006-07-12 16:44:04 -05:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
2024-08-02 13:26:41 -04:00
|
|
|
|
|
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-02 15:18:09 -04:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-02 15:18:09 -04:00
|
|
|
|
2006-01-18 09:30:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|