FIO IO units block size setting function
Hello,
can someone point me to FIO function which performs IO units block size settings? If I, e.g. pass "bs=8k", where does it actually ends up?
I have searched ioctl commands, but couldn't figure out actual function.
I would really appreciate any help, since I need some guidelines within perplexed world of Linux IO system.
Regards
Quoted 4 lines · vmokric
Hello,
can someone point me to FIO function which performs IO units block size settings? If I, e.g. pass "bs=8k", where does it actually ends up?
It goes through the parser into setting up the per-process/thread I/O pattern, look under struct thread_options definition.
Quoted 3 lines
I have searched ioctl commands, but couldn't figure out actual function.
ioctl has more or less nothing to do with this as it pops up only when fio deals with a block device and wants to learn its size (look under filesetup.c and os/os-linux.h).
Regards,
Andrey
Quoted 8 lines
I would really appreciate any help, since I need some guidelines within perplexed world of Linux IO system.
Regards
--
To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks Andrey,
this points me to right direction.
Regards,
Vojislav