[LU-16194] Define negative PFL extent start/end as invalid Created: 28/Sep/22  Updated: 23/Jan/24

Status: Reopened
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.8, Lustre 2.15.1
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Feng Lei Assignee: Feng Lei
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Servers: CentOS 7.9 (3.10.0-1160.49.1.el7.x86_64), Lustre 2.12.8, ZFS 0.8.5
2.12 Clients: CentOS 7.9 (3.10.0-1160.53.1.el7.x86_64), Lustre 2.12.8
2.15 Clients: CentOS 7.9 (3.10.0-1160.76.1.el7.x86_64), Lustre 2.15.1


Issue Links:
Related
is related to LU-16152 PFL YAML file with extent >= 2G leads... Resolved
is related to LU-17450 sanity: interop test failures with ma... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Even though lu_extent.e_start and lu_extent.e_end are u64 type, we convert them to s64 and check whether they are negative values on MDS. All negative values except -1 (EOF) are regarded as invalid.



 Comments   
Comment by Gerrit Updater [ 28/Sep/22 ]

"Feng Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48684
Subject: LU-16194 lod: define negative extent offset as invalid
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 76c2cde4123e7a1bee1dbd1dfc49f9fbf19842b5

Comment by Gerrit Updater [ 23/Sep/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48684/
Subject: LU-16194 lod: define negative extent offset as invalid
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3d6dbc72e161927ada762d2f0a68cf2d7acef4cb

Comment by Peter Jones [ 23/Sep/23 ]

Landed for 2.16

Comment by Andreas Dilger [ 23/Jan/24 ]

This test is failing interop between master (2.15.60.20) and 2.15.4. Please review failure and push a patch. Either skip because it is not expected to work with old servers, or fix as needed:
https://testing.whamcloud.com/test_sets/dc77145c-b7d3-4010-a7a2-f8435f9353ff

Comment by Gerrit Updater [ 23/Jan/24 ]

"Feng Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53771
Subject: LU-16194 tests: set minversion of MDS for sanity/65p
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 204ac072e9bf33e40522803d6ec6d9fbe2957705

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