[LU-5837] ll_getparent improvements Created: 31/Oct/14  Updated: 12/Jan/15  Resolved: 12/Jan/15

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

Type: Bug Priority: Minor
Reporter: Henri Doreau (Inactive) Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: patch

Attachments: File 0001-LU-5837-llite-create-linkea_seek_entry-and-use-it-in.patch    
Issue Links:
Related
is related to LU-5870 New static analysis issues in llite Resolved
is related to LU-3613 Get parent_fid + name for an entry Resolved
Severity: 3
Rank (Obsolete): 16364

 Description   

Reviewers have made several suggestions on LU-3613 which, though not critical, should be addressed for the sake of code quality & efficiency.



 Comments   
Comment by Henri Doreau (Inactive) [ 31/Oct/14 ]

Initial comments were made on: http://review.whamcloud.com/7069

Patch addressing the issues: http://review.whamcloud.com/12527

Comment by Peter Jones [ 03/Nov/14 ]

John

Could you please review Henri's latest changes?

Thanks

Peter

Comment by Frank Zago (Inactive) [ 04/Nov/14 ]

0001-LU-5837-llite-create-linkea_seek_entry-and-use-it-in.patch

Comment by Henri Doreau (Inactive) [ 06/Nov/14 ]

So, I've tried to integrate your patch (see patchset #3). I think it adds some complexity (a third function to maintain, with duplicated logic) without bringing much since it's still required to iterate over the variable records to get the N-th entry. I tend to prefer patchset #2.

Comment by Gerrit Updater [ 17/Nov/14 ]

Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: http://review.whamcloud.com/12527
Subject: LU-5837 llite: ll_getparent cleanup
Project: fs/lustre-release
Branch: master
Current Patch Set: 5
Commit: 749fec00ae1ca47135b7b5cedaf911b9420c2056

Comment by Gerrit Updater [ 09/Dec/14 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12527/
Subject: LU-5837 llite: ll_getparent cleanup
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 188325f9211b6f2b87a04ec1155b005b8af54c2b

Comment by Peter Jones [ 12/Jan/15 ]

Landed for 2.7

Generated at Sat Feb 10 01:54:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.