Skip to content

fuse: acquire dlm lock for the normal buffer read#188

Merged
hbirth merged 1 commit into
DDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1from
hazhou-ddn:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1
Jul 17, 2026
Merged

fuse: acquire dlm lock for the normal buffer read#188
hbirth merged 1 commit into
DDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1from
hazhou-ddn:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1

Conversation

@hazhou-ddn

Copy link
Copy Markdown

Acquire the dlm lock from fuse server for the normal buffer read path to ensure the distributed page cache across different nodes can be co-existing and consistency. More importantly, this change will correct the DLM lock and folio locks ordering for the buffer read path, thus can avoid the potential deadlock between the buffer read and page cache invalidation processes.

Signed-off-by Hai Zhong Zhou hazhou@ddn.com

Acquire the dlm lock from fuse server for the normal buffer read path
to ensure the distributed page cache across different nodes can be
co-existing and consistency. More importantly, this change will correct
the DLM lock and folio locks ordering for the buffer read path, thus
can avoid the potential deadlock between the buffer read and page cache
invalidation processes.

Signed-off-by Hai Zhong Zhou <hazhou@ddn.com>
@hazhou-ddn
hazhou-ddn force-pushed the redfs-ubuntu-hwe-6.17.0-16.16-24.04.1 branch from 04794f7 to 9a3719a Compare July 16, 2026 10:19
Comment thread fs/fuse/file.c Outdated
@hazhou-ddn
hazhou-ddn requested a review from yongzech July 17, 2026 03:44
@hazhou-ddn
hazhou-ddn force-pushed the redfs-ubuntu-hwe-6.17.0-16.16-24.04.1 branch from fd38fee to 9a3719a Compare July 17, 2026 07:56
@hbirth
hbirth merged commit cf349bc into DDNStorage:redfs-ubuntu-hwe-6.17.0-16.16-24.04.1 Jul 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants