DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Pei, Andy" <andy.pei@intel.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "Xia, Chenbo" <chenbo.xia@intel.com>,
	"Xu, Rosen" <rosen.xu@intel.com>,
	"Xiao, QimaiX" <qimaix.xiao@intel.com>
Subject: RE: [PATCH] vhost: fix virtio blk vDPA live migration IO drop
Date: Mon, 4 Jul 2022 02:30:00 +0000	[thread overview]
Message-ID: <DM5PR11MB1739C9B3A22479ECADADAC958FBE9@DM5PR11MB1739.namprd11.prod.outlook.com> (raw)
In-Reply-To: <a061bf27-a9b2-8ece-21cd-022521e94cbb@redhat.com>

HI Maxime,

Thanks.

> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> Sent: Friday, July 1, 2022 9:55 PM
> To: Pei, Andy <andy.pei@intel.com>; dev@dpdk.org
> Cc: Xia, Chenbo <chenbo.xia@intel.com>; Xu, Rosen <rosen.xu@intel.com>;
> Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: Re: [PATCH] vhost: fix virtio blk vDPA live migration IO drop
> 
> 
> 
> On 6/22/22 09:47, Andy Pei wrote:
> > In the virtio blk vDPA live migration use case, before the live
> > migration process, QEMU will set call fd to vDPA back-end. QEMU and
> > vDPA back-end stand by until live migration starts.
> > During live migration process, QEMU sets kick fd and a new call fd.
> > However, after the kick fd is set to the vDPA back-end, the vDPA
> > back-end configures device and data path starts. The new call fd will
> > cause some kind of "re-configuration", this kind of "re-configuration"
> > cause IO drop.
> > After this patch, vDPA back-end configures device after kick fd and
> > call fd are well set and make sure no IO drops.
> > This patch only impact virtio blk vDPA device and does not impact net
> > device.
> >
> > Fixes: 7015b6577178 ("vdpa/ifc: add block device SW live-migration")
> >
> > Signed-off-by: Andy Pei <andy.pei@intel.com>
> > ---
> >   lib/vhost/vhost_user.c | 15 +++++++++++++++
> >   1 file changed, 15 insertions(+)
> >
> 
> Applied to dpdk-next-virtio/main.
> 
> Thanks,
> Maxime


      reply	other threads:[~2022-07-04  2:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22  7:47 Andy Pei
2022-07-01 12:02 ` Maxime Coquelin
2022-07-01 13:55 ` Maxime Coquelin
2022-07-04  2:30   ` Pei, Andy [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=DM5PR11MB1739C9B3A22479ECADADAC958FBE9@DM5PR11MB1739.namprd11.prod.outlook.com \
    --to=andy.pei@intel.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=qimaix.xiao@intel.com \
    --cc=rosen.xu@intel.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).