From: "Stojaczyk, Dariusz" <dariusz.stojaczyk@intel.com>
To: Michael Haeuptle <michael.haeuptle@hpe.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] eal: Fixes VFIO/sysfs race condition
Date: Wed, 1 Apr 2020 08:50:38 +0000 [thread overview]
Message-ID: <d01c0508e7c34b22995aafd75f728750@intel.com> (raw)
In-Reply-To: <20200331165657.29368-1-michael.haeuptle@hpe.com>
> From: dev <dev-bounces@dpdk.org> On Behalf Of Michael Haeuptle
> Sent: Tuesday, March 31, 2020 6:57 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] eal: Fixes VFIO/sysfs race condition
>
> This fix treats a 0 return value from vfio_open_group_fd
> in vfio_get_group_fd as the intended error condition instead
> of putting an incorrect 0 file descriptor in the vfio_group table.
>
> Sometimes, the creation of device files in sysfs is not
> instantaneously causing vfio_open_groupfd to return 0.
> This has been observed when hot removing/adding multiple
> NVMe devices (>=4).
>
> Signed-off-by: Michael Haeuptle <michael.haeuptle@hpe.com>
> ---
Acked-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
next prev parent reply other threads:[~2020-04-01 8:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-31 16:56 Michael Haeuptle
2020-04-01 8:50 ` Stojaczyk, Dariusz [this message]
2020-04-02 10:10 ` Burakov, Anatoly
2020-04-06 13:25 ` David Marchand
2020-04-06 19:15 ` Haeuptle, Michael
2020-04-06 20:08 ` David Marchand
-- strict thread matches above, loose matches on Subject: below --
2020-04-06 22:23 Michael Haeuptle
2020-04-21 16:19 ` David Marchand
2020-04-06 22:16 Michael Haeuptle
2020-03-31 16:51 Michael Haeuptle
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=d01c0508e7c34b22995aafd75f728750@intel.com \
--to=dariusz.stojaczyk@intel.com \
--cc=dev@dpdk.org \
--cc=michael.haeuptle@hpe.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).