[LU-14907] VM_WRITE should not trigger layout write Created: 03/Aug/21  Updated: 03/Aug/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Qian Yingjin Assignee: Qian Yingjin
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Duplicate
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

VM area marked with VM_WRITE means that pages may be written, but mmap page write may ne ver happen.
It should delay layout write until the actual modification on the file happen in ->page_mkwrite().
Otherwise, it will trigger panic for PCC-RO sanity-pcc test_21f().

Fixes: f2d1c4ee4 ("LU-14647 flr: mmap write/punch does not stale other mirrors")



 Comments   
Comment by Gerrit Updater [ 03/Aug/21 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44483
Subject: LU-14907 pcc: VM_WRITE should not trigger layout write
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: de1fe260d8c88112b46857d69cf5fe9e5d06cfbd

Generated at Sat Feb 10 03:13:47 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.