Whamcloud - gitweb
LU-15278 mdt: protect layout xattr 63/45663/8
authorBobi Jam <bobijam@whamcloud.com>
Fri, 26 Nov 2021 04:12:25 +0000 (12:12 +0800)
committerBobi Jam <bobijam@whamcloud.com>
Sat, 25 Dec 2021 04:47:01 +0000 (12:47 +0800)
commit48bb7206fb656a35283ea7eefdec208dd6c42078
tree0216c3b230472bbd81a7be4fadc9c91bdeb9e9d9
parentaa4755ed8f12faf88e175d9dca32e0c4f0913d91
LU-15278 mdt: protect layout xattr

During layout change, the layout xattr could be simultaneously
used by others.

This patch put the server LOVEA access in the protection of
mdt_object::mot_lov_mutex.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I4a749c9c3a53550d81d9fb5961be3094b215af92
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_io.c
lustre/mdt/mdt_lvb.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/mdt/mdt_restripe.c
lustre/mdt/mdt_som.c
lustre/mdt/mdt_xattr.c