DLPX-38741 ::dbuf dcmd misaligned output

Review Request #254 - Created Oct. 6, 2015 and submitted

Information
Matthew Ahrens
illumos-gate
6289
3d1c859...
Reviewers
openzfs
csiden
6289 ::dbuf dcmd misaligned output
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>

Original author: Joe Stein
http://jenkins.delphix.com/job/zfs-precommit/3146/

Before (64 bit):

$ sudo mdb -k
\> 0xffffff026b3ff828::dbuf
        addr object lvl blkid holds os
ffffff026b3ff828     f78f 0     bonus  1 rpool/versions/2015.7.2015.07.10/root

After (64 bit):

\> 0xffffff020ebffdf8::dbuf
            addr   object lvl     blkid holds os
ffffff020ebffdf8     1042   0     bonus     1 rpool/versions/2015.7.2015.07.10/running/var

Before (32 bit):

\> 0x8a7fdf8::dbuf
        addr object lvl blkid holds os
8a7fdf8        2 1   80000dc  1 ztest/ds_1

After (32 bit):

\> 0x166007f0::dbuf
    addr   object lvl     blkid holds os
166007f0      118   0         0     1 ztest/ds_4

After (with under-width pointer):

\> 0x9362c10::dbuf
    addr   object lvl     blkid holds os
 9362c10      111   0     bonus     0 mos

there is beauty in the world again
Matthew Ahrens
Review request changed

Status: Closed (submitted)

Loading...