Thanks, Paul, for hurdtest.c and the subsequent tiny patch to it. Here is the test on my GNU/Hurd system on virt-manager + QEMU-KVM on top of CentOS 7:
$ cc hurdtest.c && time ./a.out file=/dev/zero CHR st_size=9223372036854775807 st_blksize=8192 st_blocks=8 cur_offset=0 end_offset=9223372036854775807 pagesize=4096 file=/dev/null CHR st_size=0 st_blksize=1048576 st_blocks=0 cur_offset=0 end_offset=0 pagesize=4096 real 0m0.010s user 0m0.000s sys 0m0.000s ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: [email protected] - - 155 S 1400 E RM 233 [email protected] [email protected] - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------
