Whamcloud - gitweb
LU-17070 lov: retry layout refresh if got old layouts 61/55061/6
authorBobi Jam <bobijam@whamcloud.com>
Thu, 9 May 2024 09:23:37 +0000 (17:23 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Jun 2024 00:46:25 +0000 (00:46 +0000)
commit7974e41a26c22181be2818b3580756fa559d14d9
tree77c648e1ff1e19eb35f2c3192fa906124e2877f7
parentffedcbae21f7aefe5c2258a94b36fe286f46182c
LU-17070 lov: retry layout refresh if got old layouts

lov_layout_change() would not apply old layouts which can get through
when MDS doesn't take layout lock, this patch would retry getting
the layout and re-apply the layout again for once.

Fixes: 13557aa869 ("LU-15300 mdt: refresh LOVEA with LL granted")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Id29ec4ada85060a20f730f92a6a9409d755a56a1
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55061
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/vvp_page.c
lustre/lov/lov_object.c