Whamcloud - gitweb
LU-14526 flr: mirror split downgrade SOM
authorBobi Jam <bobijam@whamcloud.com>
Tue, 30 Mar 2021 11:20:26 +0000 (19:20 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 19 Jul 2021 21:53:41 +0000 (21:53 +0000)
commitd87b6f4d1cb899ab60500876db70fee856d06b24
tree3f1fe75639bd39ae2414f4f6faa1fe416a90df6e
parentaa5da2d8074707b03e3b48340c5d51943be2f19e
LU-14526 flr: mirror split downgrade SOM

After mirror split, the file's blocks on SoM is not accurate, this
patch downgrade the SoM from STRICT so that size glimpse does not
trust the SoM from the MDS.

Lustre-change: https://review.whamcloud.com/43168
Lustre-commit: a30750ad2cc5f10d9d1cc0e30199073091c06f2b

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I02350c24190d96af93fed8c1b8a0bc6beb2c4bc2
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44253
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mdt/mdt_open.c
lustre/tests/sanity-flr.sh