[LU-8410] fiemap vs walk race Created: 18/Jul/16  Updated: 18/Mar/17  Resolved: 10/Sep/16

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

Type: Bug Priority: Major
Reporter: Artem Blagodarenko (Inactive) Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Attachments: Text File 0001-MRP-0000-ldiskfs-use-new-API.patch    
Issue Links:
Duplicate
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Alexey Lyashkov have troubles with accessing this jira and asked my to create this issue. Here is problem description from him:

RHEL6.5 have a backported a upstream commit 91dd8c114499e9818f2d5919ef0b9eee61810220, which broke a lustre extent handing on OFD. But Intel have a copy-paste unfixed code and use with RHEL 6.5 and up code. It's looks wrong as it have don't fixed a fiemap vs walk race while fiemap used in lustre code now (lustre commit - 144b5a65c16f1bca81ae76010528a592c821308b)
it may produce an predictable results with memory corruption.

attached patch backport a new api from kernel upstream already supported in lustre.



 Comments   
Comment by Andreas Dilger [ 19/Jul/16 ]

Artem, can you please submit the patch to Gerrit and add Yang Sheng and Bruno as reviewers.

Please fix the patch summary line to be "... new FIEMAP API" to make this more clear what the patch is for, and also capitalize the sentences in the body of the commit message. s/fiemap/FIEMAP/, s/depricated/deprecated/.

Comment by Gerrit Updater [ 29/Jul/16 ]

Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: http://review.whamcloud.com/21603
Subject: LU-8410 ldiskfs: new FIEMAP API
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 590ec316194a57d32b0d5c2e567111f1bd640c3b

Comment by Gerrit Updater [ 10/Sep/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21603/
Subject: LU-8410 ldiskfs: new FIEMAP API
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 036912c414a25bfa56d8702533034ca5277aa4b3

Comment by Peter Jones [ 10/Sep/16 ]

Landed for 2.9

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