Whamcloud - gitweb
LU-17070 lov: retry layout refresh if got old layouts 88/56988/3
authorBobi Jam <bobijam@whamcloud.com>
Tue, 12 Nov 2024 20:09:12 +0000 (12:09 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 Jan 2025 18:51:19 +0000 (18:51 +0000)
commit356222ffb713c611af1bfa8379fe866a15da0439
tree54767913ebc13cae346813e0730c59c23b7b5009
parentec54a4bbe37d4cf507a5c13466627d21d85c5f55
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.

Lustre-change: https://review.whamcloud.com/55061
Lustre-commit: 7974e41a26c22181be2818b3580756fa559d14d9

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/+/56988
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/vvp_page.c
lustre/lov/lov_object.c