|
# ../qa/workunits/rbd/issue-57396-2.sh --lttng rbd_journal_discard
|
|
+ lttng_rbd_journal_discard
|
|
+ rados lspools
|
|
+ grep -q '^rbd$'
|
|
+ image=testrbdjournaldiscard
|
|
+ device=/dev/nbd0
|
|
+ lttng create -o testrbdjournaldiscard testrbdjournaldiscard
|
|
Session testrbdjournaldiscard created.
|
|
Traces will be output to /ceph/ceph/build/testrbdjournaldiscard
|
|
+ trap lttng_destroy EXIT
|
|
+ lttng enable-event -u 'librbd:*'
|
|
ust event librbd:* created in channel channel0
|
|
+ lttng add-context -u -t pthread_id
|
|
ust context pthread_id added to all channels
|
|
+ rbd create --image-feature exclusive-lock --image-feature journaling --size 128 testrbdjournaldiscard
|
|
2022-12-21T15:45:50.394+0000 7f5740fc2580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.394+0000 7f5740fc2580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.402+0000 7f5740fc2580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
++ rbd info testrbdjournaldiscard --format=xml
|
|
++ xmlstarlet sel -t -v //image/journal
|
|
+ local journal=1265f1fe02449
|
|
+ test -n 1265f1fe02449
|
|
+ zero_ncommits testrbdjournaldiscard
|
|
+ local i=0
|
|
+ local image=testrbdjournaldiscard
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=0
|
|
++ '[' -z 0 ']'
|
|
++ printf %d 0
|
|
+ '[' 0 -ne 0 ']'
|
|
++ wait_for_new_journal ' ' testrbdjournaldiscard
|
|
++ local 'old= '
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal status --image testrbdjournaldiscard
|
|
2022-12-21T15:45:50.802+0000 7f8e469be580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.802+0000 7f8e469be580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.810+0000 7f8e469be580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
++ local 'new=minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
++ local i=0
|
|
++ '[' ' ' == 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]' ']'
|
|
++ printf 'debug: %s\n' 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
debug: minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]
|
|
++ printf %s 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
++ return 0
|
|
+ status='minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
+ rbd journal info 1265f1fe02449
|
|
2022-12-21T15:45:50.914+0000 7fd4fc2c4580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.914+0000 7fd4fc2c4580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.926+0000 7fd4fc2c4580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
rbd journal '1265f1fe02449':
|
|
header_oid: journal.1265f1fe02449
|
|
object_oid_prefix: journal_data.4.1265f1fe02449.
|
|
order: 24 (16 MiB objects)
|
|
splay_width: 4
|
|
+ rbd journal info --journal 1265f1fe02449
|
|
2022-12-21T15:45:50.998+0000 7f7b37771580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:50.998+0000 7f7b37771580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.010+0000 7f7b37771580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
rbd journal '1265f1fe02449':
|
|
header_oid: journal.1265f1fe02449
|
|
object_oid_prefix: journal_data.4.1265f1fe02449.
|
|
order: 24 (16 MiB objects)
|
|
splay_width: 4
|
|
+ rbd journal info --image testrbdjournaldiscard
|
|
2022-12-21T15:45:51.085+0000 7fd4d3c49580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.085+0000 7fd4d3c49580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.097+0000 7fd4d3c49580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
rbd journal '1265f1fe02449':
|
|
header_oid: journal.1265f1fe02449
|
|
object_oid_prefix: journal_data.4.1265f1fe02449.
|
|
order: 24 (16 MiB objects)
|
|
splay_width: 4
|
|
+ rbd journal status 1265f1fe02449
|
|
2022-12-21T15:45:51.197+0000 7f3e5cee0580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.197+0000 7f3e5cee0580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.209+0000 7f3e5cee0580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]
|
|
+ cat ceph.conf
|
|
+ printf '\n[global]\n'
|
|
+ printf '\t%s\n' 'rbd discard granularity bytes = 4096' 'rbd cache = false' 'rbd_tracing = true'
|
|
+ rbdpid=51015
|
|
+ rbd-nbd --conf ceph-tracing.conf -d --device /dev/nbd0 map testrbdjournaldiscard
|
|
+ trap unmap EXIT
|
|
+ local arg=
|
|
+ lsblk --help
|
|
+ grep -q noempty
|
|
+ arg=' --noempty '
|
|
+ set +e
|
|
+ true
|
|
+ kill -0 51015
|
|
+ lsblk --noempty /dev/nbd0
|
|
+ ret=32
|
|
+ '[' 32 -eq 32 ']'
|
|
+ sleep 0.5
|
|
2022-12-21T15:45:51.305+0000 7f766a7331c0 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.313+0000 7f766a7331c0 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:45:51.313+0000 7f766a7331c0 0 ceph version 18.0.0-1568-gc2ae7cb4b8e (c2ae7cb4b8e7ee1abce13980b6b3720078085bda) reef (dev), process rbd-nbd, pid 51015
|
|
2022-12-21T15:45:51.313+0000 7f766a7331c0 0 pidfile_write: ignore empty --pid-file
|
|
2022-12-21T15:45:51.313+0000 7f766a7331c0 -1 WARNING: all dangerous and experimental features are enabled.
|
|
/dev/nbd0
|
|
+ continue
|
|
+ true
|
|
+ kill -0 51015
|
|
+ lsblk --noempty /dev/nbd0
|
|
+ ret=0
|
|
+ '[' 0 -eq 32 ']'
|
|
+ '[' 0 -ne 0 ']'
|
|
+ break
|
|
+ set -e
|
|
+ lttng start
|
|
Tracing started for session testrbdjournaldiscard
|
|
+ trap lttng_stop EXIT
|
|
+ mkfs.ext4 /dev/nbd0
|
|
mke2fs 1.46.5 (30-Dec-2021)
|
|
Discarding device blocks: done
|
|
Creating filesystem with 131072 1k blocks and 32768 inodes
|
|
Filesystem UUID: a5ee368d-e909-4c2c-92a1-9f6afb6cd439
|
|
Superblock backups stored on blocks:
|
|
8193, 24577, 40961, 57345, 73729
|
|
|
|
Allocating group tables: done
|
|
Writing inode tables: done
|
|
Creating journal (4096 blocks): done
|
|
Writing superblocks and filesystem accounting information: done
|
|
|
|
++ mktemp -d
|
|
+ t=/tmp/tmp.R1ne4QNxe8
|
|
+ mount /dev/nbd0 -o discard /tmp/tmp.R1ne4QNxe8
|
|
+ trap unmount EXIT
|
|
+ local count=1
|
|
+ local bs=4096
|
|
+ local status=
|
|
+ dd if=/dev/random of=/tmp/tmp.R1ne4QNxe8/random bs=4096 count=1 oflag=sync
|
|
1+0 records in
|
|
1+0 records out
|
|
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0764015 s, 53.6 kB/s
|
|
+ zero_ncommits testrbdjournaldiscard
|
|
+ local i=0
|
|
+ local image=testrbdjournaldiscard
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=338
|
|
++ '[' -z 338 ']'
|
|
++ printf %d 338
|
|
+ '[' 338 -ne 0 ']'
|
|
+ i=1
|
|
+ '[' 1 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=338
|
|
++ '[' -z 338 ']'
|
|
++ printf %d 338
|
|
+ '[' 338 -ne 0 ']'
|
|
+ i=2
|
|
+ '[' 2 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=374
|
|
++ '[' -z 374 ']'
|
|
++ printf %d 374
|
|
+ '[' 374 -ne 0 ']'
|
|
+ i=3
|
|
+ '[' 3 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=446
|
|
++ '[' -z 446 ']'
|
|
++ printf %d 446
|
|
+ '[' 446 -ne 0 ']'
|
|
+ i=4
|
|
+ '[' 4 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=36
|
|
++ '[' -z 36 ']'
|
|
++ printf %d 36
|
|
+ '[' 36 -ne 0 ']'
|
|
+ i=5
|
|
+ '[' 5 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=108
|
|
++ '[' -z 108 ']'
|
|
++ printf %d 108
|
|
+ '[' 108 -ne 0 ']'
|
|
+ i=6
|
|
+ '[' 6 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=148
|
|
++ '[' -z 148 ']'
|
|
++ printf %d 148
|
|
+ '[' 148 -ne 0 ']'
|
|
+ i=7
|
|
+ '[' 7 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=220
|
|
++ '[' -z 220 ']'
|
|
++ printf %d 220
|
|
+ '[' 220 -ne 0 ']'
|
|
+ i=8
|
|
+ '[' 8 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=36
|
|
++ '[' -z 36 ']'
|
|
++ printf %d 36
|
|
+ '[' 36 -ne 0 ']'
|
|
+ i=9
|
|
+ '[' 9 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=108
|
|
++ '[' -z 108 ']'
|
|
++ printf %d 108
|
|
+ '[' 108 -ne 0 ']'
|
|
+ i=10
|
|
+ '[' 10 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=148
|
|
++ '[' -z 148 ']'
|
|
++ printf %d 148
|
|
+ '[' 148 -ne 0 ']'
|
|
+ i=11
|
|
+ '[' 11 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=220
|
|
++ '[' -z 220 ']'
|
|
++ printf %d 220
|
|
+ '[' 220 -ne 0 ']'
|
|
+ i=12
|
|
+ '[' 12 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=0
|
|
++ '[' -z 0 ']'
|
|
++ printf %d 0
|
|
+ '[' 0 -ne 0 ']'
|
|
++ wait_for_new_journal '' testrbdjournaldiscard
|
|
++ local old=
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal status --image testrbdjournaldiscard
|
|
2022-12-21T15:46:08.505+0000 7f3c1dca3580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:46:08.505+0000 7f3c1dca3580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:46:08.517+0000 7f3c1dca3580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
++ local 'new=minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]'
|
|
++ local i=0
|
|
++ '[' '' == 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]' ']'
|
|
++ printf 'debug: %s\n' 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]'
|
|
debug: minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]
|
|
++ printf %s 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]'
|
|
++ return 0
|
|
+ status='minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]'
|
|
+ rm /tmp/tmp.R1ne4QNxe8/random
|
|
+ sync /tmp/tmp.R1ne4QNxe8
|
|
+ zero_ncommits testrbdjournaldiscard
|
|
+ local i=0
|
|
+ local image=testrbdjournaldiscard
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=4
|
|
++ '[' -z 4 ']'
|
|
++ printf %d 4
|
|
+ '[' 4 -ne 0 ']'
|
|
+ i=1
|
|
+ '[' 1 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=4
|
|
++ '[' -z 4 ']'
|
|
++ printf %d 4
|
|
+ '[' 4 -ne 0 ']'
|
|
+ i=2
|
|
+ '[' 2 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=4
|
|
++ '[' -z 4 ']'
|
|
++ printf %d 4
|
|
+ '[' 4 -ne 0 ']'
|
|
+ i=3
|
|
+ '[' 3 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=4
|
|
++ '[' -z 4 ']'
|
|
++ printf %d 4
|
|
+ '[' 4 -ne 0 ']'
|
|
+ i=4
|
|
+ '[' 4 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=0
|
|
++ '[' -z 0 ']'
|
|
++ printf %d 0
|
|
+ '[' 0 -ne 0 ']'
|
|
++ wait_for_new_journal 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]' testrbdjournaldiscard
|
|
++ local 'old=minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]'
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal status --image testrbdjournaldiscard
|
|
2022-12-21T15:46:13.829+0000 7f88ef0f7580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:46:13.829+0000 7f88ef0f7580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:46:13.841+0000 7f88ef0f7580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
++ local 'new=minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=925], [object_number=0, tag_tid=1, entry_tid=924], [object_number=3, tag_tid=1, entry_tid=923], [object_number=2, tag_tid=1, entry_tid=922]]], state=connected]'
|
|
++ local i=0
|
|
++ '[' 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=921], [object_number=0, tag_tid=1, entry_tid=920], [object_number=3, tag_tid=1, entry_tid=919], [object_number=2, tag_tid=1, entry_tid=918]]], state=connected]' == 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=925], [object_number=0, tag_tid=1, entry_tid=924], [object_number=3, tag_tid=1, entry_tid=923], [object_number=2, tag_tid=1, entry_tid=922]]], state=connected]' ']'
|
|
++ printf 'debug: %s\n' 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=925], [object_number=0, tag_tid=1, entry_tid=924], [object_number=3, tag_tid=1, entry_tid=923], [object_number=2, tag_tid=1, entry_tid=922]]], state=connected]'
|
|
debug: minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=925], [object_number=0, tag_tid=1, entry_tid=924], [object_number=3, tag_tid=1, entry_tid=923], [object_number=2, tag_tid=1, entry_tid=922]]], state=connected]
|
|
++ printf %s 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=925], [object_number=0, tag_tid=1, entry_tid=924], [object_number=3, tag_tid=1, entry_tid=923], [object_number=2, tag_tid=1, entry_tid=922]]], state=connected]'
|
|
++ return 0
|
|
+ status='minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[[object_number=1, tag_tid=1, entry_tid=925], [object_number=0, tag_tid=1, entry_tid=924], [object_number=3, tag_tid=1, entry_tid=923], [object_number=2, tag_tid=1, entry_tid=922]]], state=connected]'
|
|
+ fstrim /tmp/tmp.R1ne4QNxe8
|
|
+ zero_ncommits testrbdjournaldiscard
|
|
+ local i=0
|
|
+ local image=testrbdjournaldiscard
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=1
|
|
+ '[' 1 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=2
|
|
+ '[' 2 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=3
|
|
+ '[' 3 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=4
|
|
+ '[' 4 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=5
|
|
+ '[' 5 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=6
|
|
+ '[' 6 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=16
|
|
++ '[' -z 16 ']'
|
|
++ printf %d 16
|
|
+ '[' 16 -ne 0 ']'
|
|
+ i=7
|
|
+ '[' 7 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=8
|
|
+ '[' 8 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=9
|
|
+ '[' 9 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=10
|
|
+ '[' 10 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=11
|
|
+ '[' 11 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=12
|
|
+ '[' 12 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=13
|
|
+ '[' 13 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=14
|
|
+ '[' 14 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=15
|
|
+ '[' 15 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=16
|
|
+ '[' 16 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=17
|
|
+ '[' 17 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=18
|
|
+ '[' 18 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=19
|
|
+ '[' 19 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=20
|
|
+ '[' 20 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=21
|
|
+ '[' 21 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=22
|
|
+ '[' 22 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=23
|
|
+ '[' 23 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=24
|
|
+ '[' 24 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=25
|
|
+ '[' 25 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=26
|
|
+ '[' 26 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=27
|
|
+ '[' 27 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=28
|
|
+ '[' 28 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=29
|
|
+ '[' 29 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=30
|
|
+ '[' 30 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=31
|
|
+ '[' 31 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=32
|
|
+ '[' 32 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=33
|
|
+ '[' 33 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=34
|
|
+ '[' 34 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=35
|
|
+ '[' 35 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=36
|
|
+ '[' 36 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=37
|
|
+ '[' 37 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=38
|
|
+ '[' 38 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=39
|
|
+ '[' 39 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=40
|
|
+ '[' 40 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=41
|
|
+ '[' 41 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=42
|
|
+ '[' 42 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=43
|
|
+ '[' 43 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=44
|
|
+ '[' 44 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=45
|
|
+ '[' 45 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=23
|
|
++ '[' -z 23 ']'
|
|
++ printf %d 23
|
|
+ '[' 23 -ne 0 ']'
|
|
+ i=46
|
|
+ '[' 46 -gt 45 ']'
|
|
+ printf 'journal is not commited\n'
|
|
journal is not commited
|
|
+ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
2022-12-21T15:47:11.090+0000 7f1fedb22580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:11.094+0000 7f1fedb22580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:11.102+0000 7f1fedb22580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
Entry: tag_id=1, commit_tid=1
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 8176640,
|
|
"length": 212992,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:13.902208+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=2
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 9178112,
|
|
"length": 7600128,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:13.926559+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=3
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 17302528,
|
|
"length": 7864320,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:13.950508+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=4
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 25431040,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:13.969108+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=5
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 33555456,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:13.987778+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=6
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 42208256,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.005614+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=7
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 54526976,
|
|
"length": 4194304,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.022618+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=8
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 58985472,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.038799+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=9
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 67109888,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.056298+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=10
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 75762688,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.072200+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=11
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 83887104,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.088203+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=12
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 92275712,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.104855+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=13
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 100664320,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.119879+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=14
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 109052928,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.136732+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=15
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 117441536,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.160993+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=16
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 125830144,
|
|
"length": 8387584,
|
|
"discard_granularity_bytes": 4096,
|
|
"timestamp": "2022-12-21T15:46:14.180607+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=17
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 1024,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.592675+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=18
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 2048,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.592778+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=19
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 267264,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.592925+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=20
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 281600,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.593094+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=21
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 297984,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.593102+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=22
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 300032,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.593163+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=23
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 8162304,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:46:22.593218+0000"
|
|
}
|
|
Summary:
|
|
23 entries inspected, 0 errors
|
|
2022-12-21T15:47:11.238+0000 7f1fe1ffb6c0 -1 JournalMetadata: 0x7f1fd804c940 failed to locate client: INSPECT
|
|
+ exit 1
|
|
+ unmount
|
|
+ umount /dev/nbd0
|
|
+ rmdir /tmp/tmp.R1ne4QNxe8
|
|
+ lttng_stop
|
|
+ lttng stop
|
|
Waiting for data availability.
|
|
Tracing stopped for session testrbdjournaldiscard
|
|
+ rm replay-testrbdjournaldiscard.bin
|
|
+ rbd-replay-prep testrbdjournaldiscard/ust/uid/0/64-bit replay-testrbdjournaldiscard.bin
|
|
+ unmap
|
|
+ set -x
|
|
+ rbd-nbd -d --device /dev/nbd0 unmap testrbdjournaldiscard
|
|
2022-12-21T15:47:11.974+0000 7f76237fe6c0 0 rbd-nbd: disconnect request received
|
|
+ rm ceph-tracing.conf
|
|
+ rbd remove testrbdjournaldiscard
|
|
2022-12-21T15:47:12.030+0000 7f328148e580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:12.030+0000 7f328148e580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:12.042+0000 7f328148e580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
Removing image: 100% complete...done.
|
|
+ lttng_destroy
|
|
+ lttng destroy
|
|
Destroying session testrbdjournaldiscard..
|
|
Session testrbdjournaldiscard destroyed
|
|
# ../qa/workunits/rbd/issue-57396-2.sh -t rbd_journal_discard_replay
|
|
+ test_rbd_journal_discard_replay
|
|
+ rados lspools
|
|
+ grep -q '^rbd$'
|
|
+ image=testrbdjournaldiscard
|
|
+ rbd create --image-feature exclusive-lock --image-feature journaling --size 128 testrbdjournaldiscard
|
|
2022-12-21T15:47:27.478+0000 7f525b691580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:27.478+0000 7f525b691580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:27.486+0000 7f525b691580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
++ rbd info testrbdjournaldiscard --format=xml
|
|
++ xmlstarlet sel -t -v //image/journal
|
|
+ local journal=129c8b82249fd
|
|
+ test -n 129c8b82249fd
|
|
+ zero_ncommits testrbdjournaldiscard
|
|
+ local i=0
|
|
+ local image=testrbdjournaldiscard
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=0
|
|
++ '[' -z 0 ']'
|
|
++ printf %d 0
|
|
+ '[' 0 -ne 0 ']'
|
|
++ wait_for_new_journal ' ' testrbdjournaldiscard
|
|
++ local 'old= '
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal status --image testrbdjournaldiscard
|
|
2022-12-21T15:47:29.046+0000 7fb21d6c5580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.046+0000 7fb21d6c5580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.054+0000 7fb21d6c5580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
++ local 'new=minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
++ local i=0
|
|
++ '[' ' ' == 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]' ']'
|
|
++ printf 'debug: %s\n' 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
debug: minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]
|
|
++ printf %s 'minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
++ return 0
|
|
+ status='minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]'
|
|
+ rbd journal info 129c8b82249fd
|
|
2022-12-21T15:47:29.190+0000 7ff910d8a580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.190+0000 7ff910d8a580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.198+0000 7ff910d8a580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
rbd journal '129c8b82249fd':
|
|
header_oid: journal.129c8b82249fd
|
|
object_oid_prefix: journal_data.4.129c8b82249fd.
|
|
order: 24 (16 MiB objects)
|
|
splay_width: 4
|
|
+ rbd journal info --journal 129c8b82249fd
|
|
2022-12-21T15:47:29.278+0000 7fe20d065580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.278+0000 7fe20d065580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.290+0000 7fe20d065580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
rbd journal '129c8b82249fd':
|
|
header_oid: journal.129c8b82249fd
|
|
object_oid_prefix: journal_data.4.129c8b82249fd.
|
|
order: 24 (16 MiB objects)
|
|
splay_width: 4
|
|
+ rbd journal info --image testrbdjournaldiscard
|
|
2022-12-21T15:47:29.366+0000 7f3f37b4b580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.366+0000 7f3f37b4b580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.390+0000 7f3f37b4b580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
rbd journal '129c8b82249fd':
|
|
header_oid: journal.129c8b82249fd
|
|
object_oid_prefix: journal_data.4.129c8b82249fd.
|
|
order: 24 (16 MiB objects)
|
|
splay_width: 4
|
|
+ rbd journal status 129c8b82249fd
|
|
2022-12-21T15:47:29.493+0000 7f98a30d3580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.493+0000 7f98a30d3580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.505+0000 7f98a30d3580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
minimum_set: 0
|
|
active_set: 0
|
|
registered clients:
|
|
[id=, commit_position=[positions=[]], state=connected]
|
|
+ local count=1
|
|
+ local bs=4096
|
|
+ local status=
|
|
+ rbd-replay replay-testrbdjournaldiscard.bin
|
|
2022-12-21T15:47:29.577+0000 7f1fccf60040 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.589+0000 7f1fccf60040 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:47:29.589+0000 7f1fccf60040 -1 WARNING: all dangerous and experimental features are enabled.
|
|
+ zero_ncommits testrbdjournaldiscard
|
|
+ local i=0
|
|
+ local image=testrbdjournaldiscard
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=1
|
|
+ '[' 1 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=2
|
|
+ '[' 2 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=3
|
|
+ '[' 3 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=4
|
|
+ '[' 4 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=5
|
|
+ '[' 5 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=6
|
|
+ '[' 6 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=7
|
|
+ '[' 7 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=8
|
|
+ '[' 8 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=9
|
|
+ '[' 9 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=10
|
|
+ '[' 10 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=11
|
|
+ '[' 11 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=12
|
|
+ '[' 12 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=13
|
|
+ '[' 13 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=14
|
|
+ '[' 14 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=15
|
|
+ '[' 15 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=16
|
|
+ '[' 16 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=17
|
|
+ '[' 17 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=18
|
|
+ '[' 18 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=19
|
|
+ '[' 19 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=20
|
|
+ '[' 20 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=21
|
|
+ '[' 21 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=22
|
|
+ '[' 22 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=23
|
|
+ '[' 23 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=24
|
|
+ '[' 24 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=25
|
|
+ '[' 25 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=26
|
|
+ '[' 26 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=27
|
|
+ '[' 27 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=28
|
|
+ '[' 28 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=29
|
|
+ '[' 29 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=30
|
|
+ '[' 30 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=31
|
|
+ '[' 31 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=32
|
|
+ '[' 32 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=33
|
|
+ '[' 33 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=34
|
|
+ '[' 34 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=35
|
|
+ '[' 35 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=36
|
|
+ '[' 36 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=37
|
|
+ '[' 37 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=38
|
|
+ '[' 38 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=39
|
|
+ '[' 39 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=40
|
|
+ '[' 40 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=41
|
|
+ '[' 41 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=42
|
|
+ '[' 42 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=43
|
|
+ '[' 43 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=44
|
|
+ '[' 44 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=45
|
|
+ '[' 45 -gt 45 ']'
|
|
+ sleep 1
|
|
++ ncommits testrbdjournaldiscard
|
|
++ local image=testrbdjournaldiscard
|
|
+++ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
+++ awk '/entries inspected/ {print $1}'
|
|
++ out=27
|
|
++ '[' -z 27 ']'
|
|
++ printf %d 27
|
|
+ '[' 27 -ne 0 ']'
|
|
+ i=46
|
|
+ '[' 46 -gt 45 ']'
|
|
+ printf 'journal is not commited\n'
|
|
journal is not commited
|
|
+ rbd journal inspect --image testrbdjournaldiscard --verbose
|
|
2022-12-21T15:49:46.116+0000 7f72cbf86580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:49:46.116+0000 7f72cbf86580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
2022-12-21T15:49:46.128+0000 7f72cbf86580 -1 WARNING: all dangerous and experimental features are enabled.
|
|
Entry: tag_id=1, commit_tid=1
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 8176640,
|
|
"length": 212992,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.637922+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=2
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 9178112,
|
|
"length": 7600128,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.664442+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=3
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 17302528,
|
|
"length": 7864320,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.689803+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=4
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 25431040,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.708748+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=5
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 33555456,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.727502+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=6
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 42208256,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.745446+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=7
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 54526976,
|
|
"length": 4194304,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.762563+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=8
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 58985472,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.778827+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=9
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 67109888,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.796434+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=10
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 75762688,
|
|
"length": 8124416,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.812450+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=11
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 83887104,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.828551+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=12
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 92275712,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.845334+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=13
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 100664320,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.860466+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=14
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 109052928,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.877448+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=15
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 117441536,
|
|
"length": 8388608,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.901774+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=16
|
|
{
|
|
"event_type": "AioDiscard",
|
|
"offset": 125830144,
|
|
"length": 8387584,
|
|
"discard_granularity_bytes": 65536,
|
|
"timestamp": "2022-12-21T15:47:51.921503+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=17
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 1024,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.333772+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=18
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 2048,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.333840+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=19
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 267264,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.334024+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=20
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 297984,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.334125+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=21
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 300032,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.334177+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=22
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 8162304,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.334234+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=23
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 281600,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:00.334291+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=24
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 50332672,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:49.035915+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=25
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 50332672,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:49.065156+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=26
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 50332672,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:49.088772+0000"
|
|
}
|
|
Entry: tag_id=1, commit_tid=27
|
|
{
|
|
"event_type": "AioWrite",
|
|
"offset": 1024,
|
|
"length": 1024,
|
|
"timestamp": "2022-12-21T15:48:49.105987+0000"
|
|
}
|
|
Summary:
|
|
27 entries inspected, 0 errors
|
|
2022-12-21T15:49:46.280+0000 7f72a77fe6c0 -1 JournalMetadata: 0x7f72bc04f020 failed to locate client: INSPECT
|
|
+ exit 1
|
|
+ rm -fr /tmp/rbd_journal53487
|
|
|