Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
In the current Lustre, an OPEN ibits lock returned to a client is mandatorily setting to specific lock mode:
open mode lock mode
- FMODE_WRITE CW
- FMODE_EXEC PR
- other CR
For DoM files, it would better to return the corresponding DOM ibits lock together (combined) with OPEN ibits to a client during the open() or open-ahead(https://jira.whamcloud.com/browse/LU-16429) for the possible subsequent read or write, which can reduce extra lock traffic for DOM ibits lock.
The client needs to handle for PW or PW OPEN ibits lock properly.
"Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50018
Subject: LU-16538 mdt: reserve connect flag for open lock modes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ccbb70172571a1bdb8096781492b7cc213680a08