Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.10.0, Lustre 2.11.0, Lustre 2.12.0
-
None
-
3
-
9223372036854775807
Description
While investigating LU-10961 I have found that component instantiation is not replayed. Test showing the problem:
test_132a() { [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.9.90) ] && skip "Do not support PFL files before 2.10" $LFS setstripe -E 1M -c 1 -E EOF -c 2 $DIR/$tfile replay_barrier $SINGLEMDS # write over the first component size cause next component instantiation dd if=/dev/urandom of=$DIR/$tfile bs=1M count=1 seek=1 || error "dd to $DIR/$tfile failed" cksum=$(md5sum $DIR/$tfile | awk '{print $1}') $LFS getstripe -I2 $DIR/$tfile | grep -q lmm_objects || error "Component #1 was not instantiated" fail $SINGLEMDS cksum2=$(md5sum $DIR/$tfile | awk '{print $1}') if [ $cksum != $cksum2 ] ; then error_noexit "New checksum $cksum2 does not match original $cksum" fi $LFS getstripe -I2 $DIR/$tfile | grep -q lmm_objects || error "Component #1 instantiation was not replayed" } run_test 132a "PFL new component instantiate replay"
it is double checked here - with checksums and by checking that next component has lmm_objects assigned. Both are failing in master.
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34049/
Subject:
LU-11158mdt: grow lvb buffer to hold layoutProject: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: a1d1006a5e2bd7ba3dd9096107c456b353a3eeb0