Whamcloud - gitweb
LU-15219 lfs: migration to DoM layout fix
authorMikhail Pershin <mpershin@whamcloud.com>
Fri, 12 Nov 2021 16:00:22 +0000 (19:00 +0300)
committerJohn L. Hammond <jhammond@whamcloud.com>
Fri, 21 Jan 2022 22:12:15 +0000 (22:12 +0000)
commitd389d3f4c4e6a4ee04f074daaff273592f4c56ee
tree3da7e33fb21e3df21b2a898ba6b7f44bf48f3b68
parent6aca23eee76ad7f3fc0ce02f4a92bcee7d49b91c
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

Lustre-change: https://review.whamcloud.com/45549
Lustre-commit: cf872dcce3b33d309d31dc5cce8794729f14a924

Fixes: 44a721b8c1 ("LU-11421 dom: manual OST-to-DOM migration via mirroring")
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I206358e762780ab7cfaa7587888174a31bc7b196
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46012
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c