[LU-2303] Bulk write replay & grant interaction Created: 25/Oct/12  Updated: 22/Jul/18  Resolved: 22/Jul/18

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

Type: Bug Priority: Major
Reporter: Mikhail Pershin Assignee: Johann Lombardi (Inactive)
Resolution: Not a Bug Votes: 0
Labels: zfs

Issue Links:
Related
Story Points: 1
Severity: 3
Project: Orion
Rank (Obsolete): 5289

 Description   

Grant management when replaying bulk writes need to be reviewed since we might end up with a different result after replay than the original one.



 Comments   
Comment by Andreas Dilger [ 08/Nov/12 ]

Johann, can you please provide some details about what this bug is for? It is a clone from ORI-384, so possibly it relates to interop with old clients related to "OBD_BRW_FROM_GRANT in the rnb_flags"?

Comment by Johann Lombardi (Inactive) [ 20/Nov/12 ]

No, it is not an interop issue and not something new in 2.4 (it has been around since bulk write replay is enabled).
The issue is that we return an array of rc when processing bulk write and this array isn't resent to the server on replay. As a result, we might end up with a different result when replaying bulk writes than the original one.
e.g.: page 1 was written successfully while page 2 failed with ENOSPC might end up being the two pages are successfully written during replay.

Generated at Sat Feb 10 01:24:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.