vinum_info: Correct the print formats to allow for 64 bit pointers.
Approved by: re (jhb).
This commit is contained in:
parent
d54f0880cb
commit
ae1e3c0330
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107764
@ -889,7 +889,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_user_bp: /* this is the bp when strategy is called */
|
||||
printf("%s %dVS %s %p\t%d.%-6d 0x%-9x\t%ld\n",
|
||||
printf("%s %dVS %s %p\t%2d.%-6d 0x%9llx\t%d\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.type,
|
||||
rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
@ -902,7 +902,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
|
||||
case loginfo_sdiol: /* subdisk I/O launch */
|
||||
case loginfo_user_bpl: /* and this is the bp at launch time */
|
||||
printf("%s %dLR %s %p\t%d.%-6d 0x%-9x\t%ld\n",
|
||||
printf("%s %dLR %s %p\t%2d.%-6d 0x%9llx\t%ld\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.type,
|
||||
rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
@ -914,7 +914,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_rqe: /* user RQE */
|
||||
printf("%s 3RQ %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n",
|
||||
printf("%s 3RQ %s %p\t%2d.%-6d 0x%9llx\t%ld\t%d\t%6x\t%6x\t%x\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.info.rqe.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
rq.bp,
|
||||
@ -929,7 +929,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_iodone: /* iodone called */
|
||||
printf("%s 4DN %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n",
|
||||
printf("%s 4DN %s %p\t%2d.%-6d 0x%9llx\t%ld\t%d\t%6x\t%6x\t%x\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.info.rqe.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
rq.bp,
|
||||
@ -944,7 +944,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_raid5_data: /* RAID-5 write data block */
|
||||
printf("%s 5RD %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n",
|
||||
printf("%s 5RD %s %p\t%2d.%-6d 0x%9llx\t%ld\t%d\t%6x\t%6x\t%x\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.info.rqe.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
rq.bp,
|
||||
@ -959,7 +959,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_raid5_parity: /* RAID-5 write parity block */
|
||||
printf("%s 6RP %s %p\t%d.%-6d 0x%-9x\t%ld\t%d\t%x\t%x\t%x\n",
|
||||
printf("%s 6RP %s %p\t%2d.%-6d 0x%9llx\t%ld\t%d\t%6x\t%6x\t%x\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.info.rqe.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
rq.bp,
|
||||
@ -974,7 +974,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_sdio: /* subdisk I/O */
|
||||
printf("%s %dVS %s %p\t\t 0x%-9x\t%ld\t%d\n",
|
||||
printf("%s %dVS %s %p\t\t 0x%9llx\t%ld\t%d\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.type,
|
||||
rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
@ -985,7 +985,7 @@ vinum_info(int argc, char *argv[], char *argv0[])
|
||||
break;
|
||||
|
||||
case loginfo_sdiodone: /* subdisk I/O done */
|
||||
printf("%s %dSD %s %p\t\t 0x%-9x\t%ld\t%d\n",
|
||||
printf("%s %dSD %s %p\t\t 0x%9llx\t%ld\t%d\n",
|
||||
timetext(&rq.timestamp),
|
||||
rq.type,
|
||||
rq.info.b.b_iocmd == BIO_READ ? "Read " : "Write",
|
||||
|
Loading…
Reference in New Issue
Block a user