Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
After mirror split, a file may have a "STRICT" size on MDT xattr which actually stale:
# rm -f f0 # dd if=/dev/zero of=f0 bs=1M count=100 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 0.802629 s, 131 MB/s # sync # du --block-size=512 f0 204800 f0 # # lfs mirror extend -N -c1 f0 # sync # du --block-size=512 f0 395264 f0 # # lfs mirror split --delete --mirror-id=1 f0 # sync # du --block-size=512 f0 395264 f0 # # # lfs getsom f0 file: f0 size: 104857600 blocks: 395264 flags: 1 # getfattr -n trusted.som --only-values f0 | hexdump -C 00000000 01 00 00 00 00 00 00 00 00 00 40 06 00 00 00 00 |..........@.....| 00000010 00 08 06 00 00 00 00 00 |........| 00000018 # # echo $((0x060800)) 395264