svn commit: r368510 - head/usr.sbin/diskinfo

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Dec 10 10:23:18 UTC 2020


Author: trasz
Date: Thu Dec 10 10:23:18 2020
New Revision: 368510
URL: https://svnweb.freebsd.org/changeset/base/368510

Log:
  Make "diskinfo -i" also test 1MB reads.

Modified:
  head/usr.sbin/diskinfo/diskinfo.c

Modified: head/usr.sbin/diskinfo/diskinfo.c
==============================================================================
--- head/usr.sbin/diskinfo/diskinfo.c	Thu Dec 10 10:00:43 2020	(r368509)
+++ head/usr.sbin/diskinfo/diskinfo.c	Thu Dec 10 10:23:18 2020	(r368510)
@@ -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");
 }
 


More information about the svn-src-head mailing list