Re: FIO IO units block size setting function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 30, 2015 at 12:48 PM, vmokric <vojislav.mokric@xxxxxxx> wrote:
> 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.

>
> 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

> 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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
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



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux