[LU-7132] optimizations for the BRW path Created: 10/Sep/15  Updated: 25/Apr/16  Resolved: 25/Sep/15

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

Type: Improvement Priority: Minor
Reporter: Andrew Perepechko Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-8059 wrong ext4 patch in LU-7132 Resolved
Rank (Obsolete): 9223372036854775807

 Description   

We have an optimization that replaces bmap calls with fiemap calls through the brw path.

A patch will be uploaded shortly.

The patch also includes a fix for a fiemap deadlock in pre 3.8 kernels. This deadlock can happen without this fiemap optimization as well - through FIEMAP get_info RPC.



 Comments   
Comment by Gerrit Updater [ 10/Sep/15 ]

Andrew Perepechko (andrew.perepechko@seagate.com) uploaded a new patch: http://review.whamcloud.com/16360
Subject: LU-7132 osd-ldiskfs: speedup rewrites
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 60b5c99da7510455c93f985f27a7f84e0b5deefc

Comment by Gerrit Updater [ 22/Sep/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16360/
Subject: LU-7132 osd-ldiskfs: speedup rewrites
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 144b5a65c16f1bca81ae76010528a592c821308b

Comment by Peter Jones [ 23/Sep/15 ]

Landed for 2.8

Comment by Bob Glossman (Inactive) [ 24/Sep/15 ]

the mod just landed to master doesn't cover all supported distros. is similar change needed in el7 and sles12?

Comment by Andrew Perepechko [ 24/Sep/15 ]

the mod just landed to master doesn't cover all supported distros. is similar change needed in el7 and sles12?

The deadlock was fixed in vanilla kernel 3.8 and should not be needed for kernels based on vanilla 3.10 and vanilla 3.12. Please see a comment in gerrit.

Comment by James A Simmons [ 25/Sep/15 ]

Yes the fix he for the older distros is already in SLES12 and RHEL7.

Comment by Bob Glossman (Inactive) [ 25/Sep/15 ]

closed again

Comment by Gerrit Updater [ 23/Apr/16 ]

Andrew Perepechko (andrew.perepechko@seagate.com) uploaded a new patch: http://review.whamcloud.com/19747
Subject: LU-7132 ldiskfs: wrong ldiskfs patch
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 90279814c08efff040f06ed0f1beaa2144b62bde

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