You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PAGE_MKWRITE fuse request to allow FUSE daemon to acquire
DLM lock for protecting dirty page creation.
Allow read_folio to return EAGAIN error and translate it to
AOP_TRUNCATE_PAGE to retry page fault and read operations.
This is used to prevent deadlock of folio lock/DLM lock order reversal:
- Fault or read operations acquire folio lock first, then DLM lock.
- FUSE daemon blocks new DLM lock acquisition while it invalidating
page cache. invalidate_inode_pages2_range() acquires folio lock
To prevent deadlock, the FUSE daemon will fail its DLM lock acquisition
with EAGAIN if it detects an in-flight page cache invalidating
operation.
This enables memory mapping across cluster nodes with proper
distributed locking coordination.
0 commit comments