Flexible I/O Tester development
 help / color / mirror / Atom feed
* Is the libiscsi engine patch applied correctly?
@ 2019-04-25 15:52 Richard W.M. Jones
  2019-04-25 16:10 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Richard W.M. Jones @ 2019-04-25 15:52 UTC (permalink / raw)
  To: fio

It seems like these two lines might be in the wrong order? (and the
same thing later in the file too)

https://github.com/axboe/fio/blob/afc22c98609ee80a99fbed24231181bdab2bc659/optgroup.h#L65-L66

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html


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

* Re: Is the libiscsi engine patch applied correctly?
  2019-04-25 15:52 Is the libiscsi engine patch applied correctly? Richard W.M. Jones
@ 2019-04-25 16:10 ` Jens Axboe
  2019-04-25 20:22   ` Richard W.M. Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2019-04-25 16:10 UTC (permalink / raw)
  To: Richard W.M. Jones, fio

On 4/25/19 9:52 AM, Richard W.M. Jones wrote:
> It seems like these two lines might be in the wrong order? (and the
> same thing later in the file too)
> 
> https://github.com/axboe/fio/blob/afc22c98609ee80a99fbed24231181bdab2bc659/optgroup.h#L65-L66

They are, that's a bug. Thanks for letting me know, I've fixed it up.

-- 
Jens Axboe



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

* Re: Is the libiscsi engine patch applied correctly?
  2019-04-25 16:10 ` Jens Axboe
@ 2019-04-25 20:22   ` Richard W.M. Jones
  2019-04-25 20:25     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Richard W.M. Jones @ 2019-04-25 20:22 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fio

On Thu, Apr 25, 2019 at 10:10:40AM -0600, Jens Axboe wrote:
> On 4/25/19 9:52 AM, Richard W.M. Jones wrote:
> > It seems like these two lines might be in the wrong order? (and the
> > same thing later in the file too)
> > 
> > https://github.com/axboe/fio/blob/afc22c98609ee80a99fbed24231181bdab2bc659/optgroup.h#L65-L66
> 
> They are, that's a bug. Thanks for letting me know, I've fixed it up.

Thanks.  I think also these lines later in the same file -- although
not technically a bug -- should also be swapped around:

	    FIO_OPT_G_INVALID	 = (1ULL << __FIO_OPT_G_NR),
	    FIO_OPT_G_ISCSI         = (1ULL << __FIO_OPT_G_ISCSI),

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/


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

* Re: Is the libiscsi engine patch applied correctly?
  2019-04-25 20:22   ` Richard W.M. Jones
@ 2019-04-25 20:25     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2019-04-25 20:25 UTC (permalink / raw)
  To: Richard W.M. Jones; +Cc: fio

On 4/25/19 2:22 PM, Richard W.M. Jones wrote:
> On Thu, Apr 25, 2019 at 10:10:40AM -0600, Jens Axboe wrote:
>> On 4/25/19 9:52 AM, Richard W.M. Jones wrote:
>>> It seems like these two lines might be in the wrong order? (and the
>>> same thing later in the file too)
>>>
>>> https://github.com/axboe/fio/blob/afc22c98609ee80a99fbed24231181bdab2bc659/optgroup.h#L65-L66
>>
>> They are, that's a bug. Thanks for letting me know, I've fixed it up.
> 
> Thanks.  I think also these lines later in the same file -- although
> not technically a bug -- should also be swapped around:
> 
> 	    FIO_OPT_G_INVALID	 = (1ULL << __FIO_OPT_G_NR),
> 	    FIO_OPT_G_ISCSI         = (1ULL << __FIO_OPT_G_ISCSI),

Order of those don't really matter. But for pure aesthetics, yeah they
should probably be swapped.

-- 
Jens Axboe



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

end of thread, other threads:[~2019-04-25 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-25 15:52 Is the libiscsi engine patch applied correctly? Richard W.M. Jones
2019-04-25 16:10 ` Jens Axboe
2019-04-25 20:22   ` Richard W.M. Jones
2019-04-25 20:25     ` Jens Axboe

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