Whamcloud - gitweb
LU-14646 flr: write a FLR file downgrade SoM
authorBobi Jam <bobijam@whamcloud.com>
Wed, 28 Apr 2021 04:43:11 +0000 (12:43 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 29 Jul 2021 14:22:42 +0000 (14:22 +0000)
commit900eeb812e64e1a77698779307e86ccd6759828a
tree87ca787abe840019d193d685cfef48c96304d606
parent172393faa0dcc64e30768b74625180c09b7700a2
LU-14646 flr: write a FLR file downgrade SoM

Seek over file size and write a FLR file does not change its SoM
and that makes file size incorrect.

This patch also fixes rename connect flags "pccro" to "pcc_ro"
which causes that PCC-RO related tests in sanity-pcc.sh are all
skipped.

Lustre-change: https://review.whamcloud.com/43471
Lustre-commit: f437134e80a1b320e575d774061e693042f3eb4c

Fixes: 25836ff90 ("LU-10948 mdt: New connect flag for non-open-by-fid lock")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I3075389721bdd40be60e9206c37f6c1bea514cce
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44273
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
lustre/mdd/mdd_object.c
lustre/tests/sanity-pcc.sh