Whamcloud - gitweb
LU-15219 lfs: migration to DoM layout fix 49/45549/4
authorMikhail Pershin <mpershin@whamcloud.com>
Fri, 12 Nov 2021 16:00:22 +0000 (19:00 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Jan 2022 21:58:54 +0000 (21:58 +0000)
commitcf872dcce3b33d309d31dc5cce8794729f14a924
tree1069ee4e739c0a197c4972a6a5438e1d12bbf40e
parenta75f1a90611038ea097912384413813e8d350290
LU-15219 lfs: migration to DoM layout fix

Migration to DoM layout from OST-striped file can skip
data sync beyond DoM component if it is not initialized.
Patch forces data copy prior layout merge, so new layout
is initialized and contains needed data

Tests 272e/272f in sanity.sh were modified to migrate data
for both MDT and OST parts

Fixes: 44a721b8c1 ("LU-11421 dom: manual OST-to-DOM migration via mirroring")
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I206358e762780ab7cfaa7587888174a31bc7b196
Reviewed-on: https://review.whamcloud.com/45549
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c