[LU-15609] Client should not assume RDONLY implies SOM Created: 01/Mar/22  Updated: 22/Jul/22  Resolved: 27/Jun/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Critical
Reporter: Patrick Farrell Assignee: Patrick Farrell
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11695 disabling the xattr cache on client f... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In lov_io_slice_mirror_init, the client code assumes that a RDONLY flag in the layout implies SOM and skips glimpse if so.  This is something like a layering violation - SOM is communicated from the MDS when it is valid, and the client already skips glimpse in that case.

Prior to "LU-14526 flr: mirror split downgrade SOM"/https://review.whamcloud.com/43168/, this was incorrect but not a problem, because LCM_FL_RDONLY always implied valid SOM.    That patch made that assumption invalid.

Fix is for client not to assume LCM_FL_RDONLY means SOM.



 Comments   
Comment by Gerrit Updater [ 01/Mar/22 ]

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46666
Subject: LU-15609 flr: Don't assume RDONLY implies SOM
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 32a925e591d9610c28440251529d9683e6d72de8

Comment by Gerrit Updater [ 27/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46666/
Subject: LU-15609 flr: Don't assume RDONLY implies SOM
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 250108ad754cfa932306d7edae10de14d40aeb4e

Comment by Peter Jones [ 27/Jun/22 ]

Landed for 2.16

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