[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 |
| Comment by Gerrit Updater [ 05/Jun/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14726/ |