On Fri, Apr 05 2013, Michal Šmucr wrote: > 2013/4/5 Jens Axboe <axboe@xxxxxxxxx>: > > It would not be a problem making the block size decision probed or > > dynamic. But it's not clear to me from the above what you would base it > > on. The file size? Or st_blksize? > > I'm sorry Jens, i wasn't much clear regarding this. I meant file size - st_size. OK, so how would you size the block size based on the file size? That's the part that isn't quite clear to me. There could be a number of valid options in that area, and things like buffered/unbuffered IO might influence that as well. In other words, it would involve some heuristics, which I'm never that crazy about adding. But tell me what you are proposing in detail, and we can take it from there :-) -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html