[LU-12421] lfs ladvise range end/length off by 1 Created: 11/Jun/19  Updated: 24/Sep/20

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

Type: Bug Priority: Minor
Reporter: Patrick Farrell (Inactive) Assignee: Li Xi
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

lfs ladvise mistakenly treats ranges like 0-1M as [0,1M], and requests action on:
0,1045876

But this is actually 1M+1.

We need to correct it to take action on [0,1M).



 Comments   
Comment by Gerrit Updater [ 11/Jun/19 ]

Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35184
Subject: LU-12421 lfs: fix ladvise range
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 723a861284f76b4144ceade232de2d024203204b

Generated at Sat Feb 10 02:52:26 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.