All of lore.kernel.org
 help / color / mirror / Atom feed
* fio max blocksize
@ 2018-07-06 21:15 Jeff Furlong
  2018-07-07  4:43 ` Sitsofe Wheeler
  2018-07-12 17:15 ` Jens Axboe
  0 siblings, 2 replies; 18+ messages in thread
From: Jeff Furlong @ 2018-07-06 21:15 UTC (permalink / raw)
  To: fio@vger.kernel.org

Hi All,
Currently it looks like fio has a max blocksize of uint32_t.  So commands such as 

# fio --name=test --ioengine=libaio --direct=1 --rw=trim --iodepth=1 --bs=4g --filename=/dev/nvme1n1 --number_ios=1 max value out of range: 4294967296 (4294967295 max)
fio: failed parsing bs=4g

will fail.  While I wouldn't normally do 4GB reads/writes, I would like to issue 4GB trims.  Otherwise I need to invoke a tool such as blkdiscard, but then summarizing all job IO is very difficult.  I went through the process of unsuccessfully changing the blocksize variables to uint64_t (failed getting buflen), but not sure if I missed a minor detail or a major roadblock that would prevent it.  How could >4GB blocksizes be supported?  Thanks.

Regards,
Jeff


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-07-23 16:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06 21:15 fio max blocksize Jeff Furlong
2018-07-07  4:43 ` Sitsofe Wheeler
2018-07-12 17:15 ` Jens Axboe
2018-07-12 18:08   ` Jeff Furlong
2018-07-12 18:20     ` Jens Axboe
2018-07-12 19:11       ` Jeff Furlong
2018-07-12 19:38         ` Jens Axboe
2018-07-12 22:13           ` Jeff Furlong
2018-07-12 22:33             ` Jens Axboe
2018-07-12 22:47               ` Jeff Furlong
2018-07-12 22:49                 ` Jens Axboe
2018-07-13  0:07             ` Elliott, Robert (Persistent Memory)
2018-07-13 17:46               ` Jeff Furlong
2018-07-13 23:59                 ` Jeff Furlong
2018-07-14  3:05                   ` Jens Axboe
2018-07-17 21:38                     ` Jeff Furlong
2018-07-23 15:17                       ` Jens Axboe
2018-07-23 16:33                         ` Jeff Furlong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.