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");
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to