fs: dlm: miscs and msgs processing changes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 0 repliesNew
- v113 patches 0 repliesSuperseded
changes since v2 from the cover letter
- add a cover-letter
- fix a deadlock case in "fs: dlm: create midcomms nodes when configure"
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | fs: dlm: add missing spin_unlockfs/ | +1 | 0 replies | |
| 2/13 | fs: dlm: remove unused processed_nodesfs/ | +0 | 0 replies | |
| 3/13 | fs: dlm: debugfs for queued callbacksfs/ fs/ | +101 | 0 replies | |
| 4/13 | fs: dlm: check on plock ops when exit dlmfs/ | +2 | 0 replies | |
| 5/13 | fs: dlm: add plock dev tracepointsfs/ include/ | +57 | 0 replies | |
| 6/13 | fs: dlm: remove clear_members_cbfs/ | +1 | 0 replies | |
| 7/13 | fs: dlm: cleanup lock orderfs/ | +2 | 0 replies | |
| 8/13 | fs: dlm: get recovery sequence number as parameterfs/ fs/ fs/ +7 more | +99 | 0 replies | |
| 9/13 | fs: dlm: drop rxbuf manipulation in dlm_copy_master_namesfs/ | +2 | 0 replies | |
| 10/13 | fs: dlm: drop rxbuf manipulation in dlm_recover_master_copyfs/ fs/ fs/ | +17 | 0 replies | |
| 11/13 | fs: dlm: constify receive bufferfs/ fs/ fs/ +10 more | +101 | 0 replies | |
| 12/13 | fs: dlm: create midcomms nodes when configurefs/ fs/ fs/ | +110 | 0 replies | |
| 13/13 | fs: dlm: don't use RCOM_NAMES for version detectionfs/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Cluster-devel] [PATCHv2 dlm-next 00/13] fs: dlm: miscs and msgs processing changes
Hi,
this patch fixes some missing spin_unlock() that was missing in commit dc52cd2eff4a ("fs: dlm: fix F_CANCELLK to cancel pending request"). Otherwise this patch series contains:
- introduce a new debugfs entry to dump all pending callbacks in the per lkb callbacks queue.
- add plock char dev kernel tracepoints for debugging
- change things in parsing/processing dlm messages like only once dereferencing the sequence number of dlm recovery and avoid an additional spinlock later
- constify the dlm receive buffer, it should never be manipulated when parsing it.
- small change in version detection to not use RCOM_NAMES messages
- change to create midcomms node when configfs gets the cluster configuration
I try to prepare to switch the message processing from workqueue context to softirq context. The patch "fs: dlm: create midcomms nodes when configure" will remove creating midcomms nodes that create debugfs entries from the message parsing context. The context for creating debugfs entries is sleepable. The lifetime of a midcomms node is now similar like lowcomms connection struct. Later we hopefully can merge the two hash datastructures midcomms nodes and lowcomms connections into one.
- Alex
changes since v2:
- add a cover-letter
- fix a deadlock case in "fs: dlm: create midcomms nodes when configure"
Alexander Aring (13):
fs: dlm: add missing spin_unlock
fs: dlm: remove unused processed_nodes
fs: dlm: debugfs for queued callbacks
fs: dlm: check on plock ops when exit dlm
fs: dlm: add plock dev tracepoints
fs: dlm: remove clear_members_cb
fs: dlm: cleanup lock order
fs: dlm: get recovery sequence number as parameter
fs: dlm: drop rxbuf manipulation in dlm_copy_master_names
fs: dlm: drop rxbuf manipulation in dlm_recover_master_copy
fs: dlm: constify receive buffer
fs: dlm: create midcomms nodes when configure
fs: dlm: don't use RCOM_NAMES for version detection
fs/dlm/config.c | 2 +- fs/dlm/debug_fs.c | 101 +++++++++++- fs/dlm/dir.c | 14 +- fs/dlm/dir.h | 6 +- fs/dlm/dlm_internal.h | 1 + fs/dlm/lock.c | 120 ++++++++------- fs/dlm/lock.h | 16 +- fs/dlm/lowcomms.c | 1 - fs/dlm/member.c | 15 +- fs/dlm/member.h | 2 +- fs/dlm/midcomms.c | 304 ++++++++++++++----------------------- fs/dlm/midcomms.h | 1 + fs/dlm/plock.c | 9 ++ fs/dlm/rcom.c | 102 +++++++------ fs/dlm/rcom.h | 15 +- fs/dlm/recover.c | 60 ++++---- fs/dlm/recover.h | 14 +- fs/dlm/recoverd.c | 16 +- fs/dlm/requestqueue.c | 3 +- fs/dlm/requestqueue.h | 3 +- include/trace/events/dlm.h | 51 +++++++ 21 files changed, 489 insertions(+), 367 deletions(-)
Signature · 1 line
2.31.1