Whamcloud - gitweb
LU-14156 utils: mirror split to check for last in-sync early 82/40782/18
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 27 Nov 2020 11:00:46 +0000 (14:00 +0300)
committerJohn L. Hammond <jhammond@whamcloud.com>
Mon, 4 Apr 2022 15:54:26 +0000 (10:54 -0500)
commit9996c22e346c219df5b165eb5ceab09873303bc2
tree57d621febd3bccd9889422d0b3ee38f2b5db7d01
parent03e4b451b0dc95fc4af2f1f48ba88b8b57ad366c
LU-14156 utils: mirror split to check for last in-sync early

currently this check to prevent last in-sync component is done
once the file is open with O_RDWR which interrupts on-going
resync/extend process. instead we can do this check early once
the layout is fetched (after the first open with O_RDONLY).

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Iee08d23008b44d2a7b2127358116a95ace40b7dd
lustre/tests/sanity.sh
lustre/utils/lfs.c