[LU-6581] Fill layout only if the layout lock is granted Created: 07/May/15  Updated: 01/Jul/16  Resolved: 14/Jul/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: Bug Priority: Minor
Reporter: Di Wang Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: hsm

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In mdt_lvbo_fill(), it should check if the layout lock is granted before filling the layout to the reply, otherwise the layout might be replied to client in both blocking and completion cases, (see ldlm_lockd.c) and client might get stale layout in some cases.



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

wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/14726
Subject: LU-6581 mdt: Only fill layout if layout lock is granted
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b2f7302b7e30e0700d59b3cbc99c5e4e2587b50d

Comment by Gerrit Updater [ 05/Jun/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14726/
Subject: LU-6581 mdt: Transfer layout only if layout lock is granted
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3111196ece8cece79812c1dd0b065b6148191fde

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