Flexible I/O Tester development
 help / color / mirror / Atom feed
* FIO IO units block size setting function
@ 2015-10-30  9:48 vmokric
  2015-10-30 14:34 ` Andrey Kuzmin
  0 siblings, 1 reply; 3+ messages in thread
From: vmokric @ 2015-10-30  9:48 UTC (permalink / raw)
  To: fio

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

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

* Re: FIO IO units block size setting function
  2015-10-30  9:48 FIO IO units block size setting function vmokric
@ 2015-10-30 14:34 ` Andrey Kuzmin
  2015-11-02  8:07   ` vmokric
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Kuzmin @ 2015-10-30 14:34 UTC (permalink / raw)
  To: vmokric; +Cc: fio@vger.kernel.org

On Fri, Oct 30, 2015 at 12:48 PM, vmokric <vojislav.mokric@htec.rs> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: FIO IO units block size setting function
  2015-10-30 14:34 ` Andrey Kuzmin
@ 2015-11-02  8:07   ` vmokric
  0 siblings, 0 replies; 3+ messages in thread
From: vmokric @ 2015-11-02  8:07 UTC (permalink / raw)
  To: Andrey Kuzmin; +Cc: fio@vger.kernel.org

Thanks Andrey,
this points me to right direction.

Regards,
Vojislav

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

end of thread, other threads:[~2015-11-02  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30  9:48 FIO IO units block size setting function vmokric
2015-10-30 14:34 ` Andrey Kuzmin
2015-11-02  8:07   ` vmokric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox