Re: [PATCH v2] options: Add thinktime_iotime option

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

 



On Sep 03, 2021 / 06:38, Jens Axboe wrote:
> On 9/3/21 2:37 AM, Shin'ichiro Kawasaki wrote:
> > diff --git a/options.c b/options.c
> > index 8c2ab7cc..3fe1e6bd 100644
> > --- a/options.c
> > +++ b/options.c
> > @@ -3688,6 +3688,20 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
> >  		},
> >  		.parent = "thinktime",
> >  	},
> > +	{
> > +		.name	= "thinktime_iotime",
> > +		.lname	= "Thinktime interval",
> > +		.type	= FIO_OPT_INT,
> > +		.off1	= offsetof(struct thread_options, thinktime_iotime),
> > +		.help	= "IO time interval between 'thinktime'",
> > +		.is_time = 1,
> > +		.is_seconds = 1,
> > +		.def	= "0",
> > +		.parent	= "thinktime",
> > +		.hide	= 1,
> > +		.category = FIO_OPT_C_IO,
> > +		.group	= FIO_OPT_G_THINKTIME,
> > +	},
> 
> Please line these up nicely as is done elsewhere.

Ah, the order of the members are diffferent from others. I will move a few
members to make the order same as others.

> 
> Apart from that, this looks fine. Could really use an example job
> though, and an improvement in the explanation. The commit message looks
> great, but then the doc additions are pretty lackluster. Maybe steal a
> bit of the text you wrote from the commit message and put it in the
> shipped documentation?

I will improve the descriptions of the new option in fio.1 and HOWTO, copying
some of the commit message. Also I will add "for example" option usage in the
descriptions.

Thank you for your review.

-- 
Best Regards,
Shin'ichiro Kawasaki



[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