[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 |
||
| Issue Links: |
|
||||||||||||
| 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 |
| Comment by Gerrit Updater [ 23/Sep/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48684/ |
| 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: |
| 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 |