[LU-1072] grouplock glimpse callback on mdt do multiple free Created: 06/Feb/12  Updated: 05/Aug/20

Status: Reopened
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: CEA Assignee: Oleg Drokin
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9734

 Description   

when mdt takes a grouplock (mdd_file_lock()) it allocates an ma and free it in the glimpse grouplock callback.
the cb is called for each stripe so the ma is freed multiple time
the proposed patch (gerrit will follow) is to use a global ma structure allocated out of the lock/unlock sequence



 Comments   
Comment by jacques-charles lafoucriere [ 06/Feb/12 ]

gerrit is http://review.whamcloud.com/2103

Comment by Peter Jones [ 08/Feb/12 ]

Thanks for the patch JC!

Comment by John Fuchs-Chesney (Inactive) [ 05/Mar/14 ]

Patch supplied by customer. Marked as resolved.
~ jfc.

Comment by John Fuchs-Chesney (Inactive) [ 11/Mar/14 ]

http://review.whamcloud.com/#/c/2103/ shows that the patch is still being reviewed – so I had closed it prematurely.
~ jfc.

Comment by John Fuchs-Chesney (Inactive) [ 11/Mar/14 ]

JC – do you have any further plans for the patch you supplied back in February of 2012?
Many thanks,
~ jfc.

Comment by jacques-charles lafoucriere [ 11/Mar/14 ]

This patch is very old, I have to check if it still make sens

Comment by jacques-charles lafoucriere [ 11/Mar/14 ]

This patch is very old, I have to check if it still make sens

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