[LU-6566] improve sub_stripe lock/unlock Created: 05/May/15  Updated: 11/Jun/15  Resolved: 11/Jun/15

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

Type: Improvement Priority: Minor
Reporter: Di Wang Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

In mdt_reint_setattr, it should only lock sub_stripes
for certain attributes, for other attributes, it only
needs to set on the master object.

In lod_object_unlock, since it already know the lock
handle, it can release the lock directly, instead of
load and holding the sub-stripe object.



 Comments   
Comment by Gerrit Updater [ 05/May/15 ]

wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/14679
Subject: LU-6566 mdt: optimize sub_stripe lock/unlock
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 533da62ce3539d34918778c66de0ef8427f8c74e

Comment by Gerrit Updater [ 11/Jun/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14679/
Subject: LU-6566 mdt: optimize sub_stripe lock/unlock
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a153a0cae400c8643dee0a5f574b9e5cac71ed54

Comment by Peter Jones [ 11/Jun/15 ]

Landed for 2.8

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