Whamcloud - gitweb
LU-14642 test: add fsx mirror file test mode 73/43473/10
authorBobi Jam <bobijam@whamcloud.com>
Wed, 28 Apr 2021 05:26:18 +0000 (13:26 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 30 May 2022 18:43:56 +0000 (18:43 +0000)
commit90ba8b4ac360b1987178445bd2ccd64f7958d912
tree19058d82f3b948bb8034715731d6e36605f7229b
parentc25a4e1fd92523247a0fa5a5c2809321765df263
LU-14642 test: add fsx mirror file test mode

- add fsx mirror file test mode with "-M" option so that fsx can exert
  its IO to FLR file as well as extend/split/resync the FLR file.

- add sanity-flr test_70b() to test fsx with flrmode.

- fix a bug in "lfs mirror verify" to accomodate max mirror count
  instead of (max - 1) mirrors.

- improve "lfs mirror verify -v" print proper data range of its crc-32
  checksum values.

Test-Parameters: trivial testlist=sanity-flr env=ONLY=100,FSXNUM=10000
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Ib55c7b25dcd82fa0b197ad21268b16c82aab5da9
Reviewed-on: https://review.whamcloud.com/43473
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/Makefile.am
lustre/tests/fsx.c
lustre/tests/sanity-flr.sh
lustre/utils/lfs.c