qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>,
	Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Cc: jsnow@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org,
	mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH] iotests: fix 185
Date: Tue, 8 Aug 2017 12:27:25 -0500	[thread overview]
Message-ID: <1d6823a2-a459-6dc8-428b-b5d0fee3db39@redhat.com> (raw)
In-Reply-To: <20170808151600.GN4850@dhcp-200-186.str.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

On 08/08/2017 10:16 AM, Kevin Wolf wrote:

>>>> is sleep for ms portable?
>>> Sadly, sub-second sleep is a GNU coreutils feature; I suspect the BSD
>>> machines may fail to parse it.  (Of course, we could do some sort of
>>> 'sleep $SMALL', where $SMALL is 0.5 if sleep supports it, and 1 otherwise).
>>>
>> sleep for 1 second may lead to more then one request done before qemu quite.
> 
> _supported_os Linux
> 
> So do we really care about portability? And are all the other test cases
> working on the BSDs?

You've got valid points there - I suspect that a run of qemu-iotests on
BSD would turn up quite a few failures, some of which would be easy to
address; but it's not on my personal priority list.  I'm fine with an
approach of committing something that works where it was first tested,
then adding followup patches to improve portability, especially as long
as we are not currently getting anyone complaining about qemu-iotests
failures on BSD.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]

      reply	other threads:[~2017-08-08 17:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07 14:16 [Qemu-devel] [PATCH] iotests: fix 185 Vladimir Sementsov-Ogievskiy
2017-08-07 14:29 ` [Qemu-devel] [PATCH for-2.10] " Eric Blake
2017-08-07 15:46   ` Vladimir Sementsov-Ogievskiy
2017-08-07 15:57     ` Vladimir Sementsov-Ogievskiy
2017-08-07 16:19       ` Vladimir Sementsov-Ogievskiy
2017-08-07 15:57 ` [Qemu-devel] [PATCH] " Kevin Wolf
2017-08-08  8:42   ` Vladimir Sementsov-Ogievskiy
2017-08-08  8:53     ` Kevin Wolf
2017-08-08  9:04       ` Vladimir Sementsov-Ogievskiy
2017-08-08  9:04         ` Vladimir Sementsov-Ogievskiy
2017-08-08 10:18           ` Vladimir Sementsov-Ogievskiy
2017-08-08 15:07           ` Eric Blake
2017-08-08 15:10             ` Vladimir Sementsov-Ogievskiy
2017-08-08 15:16               ` Kevin Wolf
2017-08-08 17:27                 ` Eric Blake [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d6823a2-a459-6dc8-428b-b5d0fee3db39@redhat.com \
    --to=eblake@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).