From b7a4380dd4a25b827a548b687747fbe55d97a27e Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Thu, 10 Dec 2020 10:23:18 +0000 Subject: [PATCH] Make "diskinfo -i" also test 1MB reads. --- usr.sbin/diskinfo/diskinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.sbin/diskinfo/diskinfo.c b/usr.sbin/diskinfo/diskinfo.c index 2f0ceb4ebd04..fa95a3b92148 100644 --- a/usr.sbin/diskinfo/diskinfo.c +++ b/usr.sbin/diskinfo/diskinfo.c @@ -644,6 +644,9 @@ iopsbench(int fd, off_t mediasize, u_int sectorsize) printf("\t128 kbytes: "); iops(fd, mediasize, 128 * 1024); + printf("\t1024 kbytes: "); + iops(fd, mediasize, 1024 * 1024); + printf("\n"); }