[LU-16873] LU-16655 fix doesn't update OI_Scrub with new magic Created: 05/Jun/23 Updated: 02/Feb/24 Resolved: 14/Jun/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.3 |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Zarochentsev | Assignee: | Alexander Zarochentsev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
The fix for [root@devvm4 tests]# LCTL=/home/zam/work/git/lustre-wc-rel/lustre/utils/lctl [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t ldiskfs /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dd if=$HOME/OI_scrub.v1 of=/mnt/lustre-mds1/OI_scrub seek=16 skip=16 bs=1 conv=notrunc 384+0 records in 384+0 records out 384 bytes copied, 0.00154305 s, 249 kB/s [root@devvm4 tests]# echo -n -e '\x01\x00' | dd of=/mnt/lustre-mds1/OI_scrub bs=1 count=2 status=none seek=136 conv=notrunc [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# $LCTL get_param *.*.oi_scrub | grep oi_files oi_files: 64 oi_files: 64 oi_files: 64 [root@devvm4 tests]# [root@devvm4 tests]# dmesg | grep LU-16655 [ 3325.250365] Lustre: 62237:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dmesg | grep LU-16655 [ 3325.250365] Lustre: 62237:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3344.469841] Lustre: 62344:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dmesg | grep LU-16655 [ 3325.250365] Lustre: 62237:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3344.469841] Lustre: 62344:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dmesg | grep LU-16655 [ 3325.250365] Lustre: 62237:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3344.469841] Lustre: 62344:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3379.617818] Lustre: 62529:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dmesg | grep LU-16655 [ 3325.250365] Lustre: 62237:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3344.469841] Lustre: 62344:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3379.617818] Lustre: 62529:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [ 3432.251449] Lustre: 62622:0:(scrub.c:189:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# |
| Comments |
| Comment by Gerrit Updater [ 05/Jun/23 ] |
|
"Alexander Zarochentsev <alexander.zarochentsev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51226 |
| Comment by Alexander Zarochentsev [ 05/Jun/23 ] |
|
the test from the description after applying the fix: ... [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dmesg | grep LU-16655 [ 3941.062617] Lustre: 68735:0:(scrub.c:191:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# umount /mnt/lustre-mds1/ [root@devvm4 tests]# mount -t lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1/ [root@devvm4 tests]# dmesg | grep LU-16655 [ 3941.062617] Lustre: 68735:0:(scrub.c:191:scrub_file_load()) lustre-MDT0000: reset scrub OI count for format change (LU-16655) [root@devvm4 tests]# |
| Comment by Andreas Dilger [ 05/Jun/23 ] |
|
Zam, just to confirm, the |
| Comment by Alexander Zarochentsev [ 06/Jun/23 ] |
|
adilger , it doesn't break anything. it only recalculates the number of oi files each mount and prints the error message. |
| Comment by Gerrit Updater [ 14/Jun/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51226/ |
| Comment by Peter Jones [ 14/Jun/23 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 30/Jun/23 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51525 |
| Comment by Gerrit Updater [ 19/Oct/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51525/ |