Description
The DOM lock bit is taken opportunistically at open to improve possible read/write access but it uses PW lock mode and can be combined with other lock bits. The proposed improvements are:
1. when file is closed and there were no read/write, drop DOM bit and downgrade lock mode to less strict lock mode (CR/CW)
2. if there was write then write data on close (LU-11428) and also downgrade lock mode to PR
3. if DOM bit is dropped and there are other bits remains in lock - downgrade lock mode too
Attachments
Issue Links
- is related to
-
LU-11428 Writeback on close for DoM
-
- Open
-
"Mikhail Pershin <mpershin@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51262
Subject: LU-12325 mdc: reduce DoM lock mode on file close
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 306444123a484729bf6cb435b1c2fb84b6170158