76a577b082
Blob IDs are sequentially assigned starting at 0x100000000. When debugging with a small number of blob IDs, it is much more intuitive to see blob ID 0x100000000 rather than blob ID 4294967296. If blob IDs are displayed in hex, the things that parse commands should also accept hex to facilitate copy and paste. Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic71eaaf1987609b4f705d372ced4240650b12684 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11245 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot
91 lines
2.5 KiB
Plaintext
91 lines
2.5 KiB
Plaintext
Starting SPDK v19.10.1 / DPDK 19.08.0 initialization...
|
|
[ DPDK EAL parameters: blobcli --no-shconf -c 0x1 --log-level=lib.eal:6 --log-level=lib.cryptodev:5 --log-level=user1:6 --iova-mode=pa --base-virtaddr=0x200000000000 --match-allocations --file-prefix=spdk_pid1641656 ]
|
|
|
|
SCRIPT NOW PROCESSING: -i
|
|
Init blobstore using bdev Name: Nvme0n1
|
|
blobstore init'd: ($(XX))
|
|
|
|
SCRIPT NOW PROCESSING: -l bdevs
|
|
|
|
List bdevs:
|
|
bdev Name: Nvme0n1
|
|
bdev Product Name: NVMe disk
|
|
|
|
|
|
SCRIPT NOW PROCESSING: -n 1
|
|
New blob id $(XX)
|
|
blob now has USED clusters of 1
|
|
|
|
SCRIPT NOW PROCESSING: -p $B0
|
|
Super Blob ID has been set.
|
|
|
|
SCRIPT NOW PROCESSING: -n 1
|
|
New blob id $(XX)
|
|
blob now has USED clusters of 1
|
|
|
|
SCRIPT NOW PROCESSING: -m $B1 test.pattern
|
|
Working...............................................................................................................................................................................................................................................................
|
|
Blob import complete (from test.pattern).
|
|
|
|
SCRIPT NOW PROCESSING: -d $B1 test.pattern.blob
|
|
Working................................................................................................................................................................................................................................................................
|
|
File write complete (to test.pattern.blob).
|
|
|
|
SCRIPT NOW PROCESSING: -x $B1 key val
|
|
Xattr has been set.
|
|
|
|
SCRIPT NOW PROCESSING: -s bs
|
|
Blobstore Public Info:
|
|
Using bdev Product Name: NVMe disk
|
|
API Version: $(N)
|
|
super blob ID: $(XX)
|
|
page size: $(N)
|
|
io unit size: $(N)
|
|
cluster size: 1048576
|
|
# free clusters: $(N)
|
|
blobstore type:
|
|
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
|
|
Blobstore Private Info:
|
|
Metadata start (pages): $(N)
|
|
Metadata length (pages): $(N)
|
|
|
|
SCRIPT NOW PROCESSING: -s $B1
|
|
Blob Public Info:
|
|
blob ID: $(XX)
|
|
# of clusters: 1
|
|
# of bytes: 1048576
|
|
# of pages: 256
|
|
# of xattrs: 1
|
|
xattrs:
|
|
|
|
(0) Name:key
|
|
(0) Value:
|
|
|
|
00000000 76 61 6c val
|
|
|
|
Blob Private Info:
|
|
state: CLEAN
|
|
open ref count: 1
|
|
|
|
SCRIPT NOW PROCESSING: -r $B1 key
|
|
Xattr has been removed.
|
|
|
|
SCRIPT NOW PROCESSING: -s bs
|
|
Blobstore Public Info:
|
|
Using bdev Product Name: NVMe disk
|
|
API Version: 3
|
|
super blob ID: $(XX)
|
|
page size: $(N)
|
|
io unit size: $(N)
|
|
cluster size: 1048576
|
|
# free clusters: $(N)
|
|
blobstore type:
|
|
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
|
|
|
Blobstore Private Info:
|
|
Metadata start (pages): $(N)
|
|
Metadata length (pages): $(N)
|
|
|
|
SCRIPT NOW PROCESSING: -X
|