[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] xen/blkfront: read response from backend only once
- To: Juergen Gross <jgross@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Fri, 9 Jul 2021 10:33:24 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E9KKl21UAmL/jws+5CN1kY0kBERKBHzSIvi3oXfE8CA=; b=NkCE2W+GOmD16BdQ+su52iwVhtk1M5Eq1hmiQKPKf0ESneNpAs00VogtJhpY6VNLkMnxx7Vp4svN5+mMMepMh4y1HP9wanJyvpKap7TI4mVP9AuQRGxRy7Y8n/DkXR1esQtuATahxDtzvojt7bGwvW4HZw/bmt3VhWNOteMhpZjlYcLT+nzXflhhTVFIWaztct39akC3C0YxtrbzBApturjUFTkHw9URUefEUb2RatRh0q+UpYV6O+xGNpbNo92Bw5DEtQlJioLDiec35xrkaC/jBNFvoV1tgPJ04MF2Pw+dOMP2opIDLZlUQTtNarfFxPl/g0kqsWXXfExofwxvGA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cHog8tom7xr0w4MJlBWXuUL1FOQQKZ68lFxKyrsIPpub8ygkcTBJ75R1QoIVnM78zr2qD3z+n9nhy9KVXZTnuFezNlSIftTu76hcXlAGJZNI3LVaC37rvE0agRBsTTbqUuCiYN4LLaCCvU4CEZwYiZ6/fzebFE8eNcHEVpbxiR7zQf4vfsbklPOAS9CRcneBrr4qGzwjXmOBL3w8cUB7fPDJ06A56Zw8gOnM8TnyBS13phoY8CfXkKdG6VjogW1e64ORCx5ZbeswI2MBqaiQY4KJgtmtB6fHD0o/ByYnMuMUcBNYvJgAmsfkKfRVfdwgU2tS7JpWcXr5NCEAEFsIqw==
- Authentication-results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <linux-block@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Jens Axboe <axboe@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
- Delivery-date: Fri, 09 Jul 2021 08:33:48 +0000
- Ironport-hdrordr: A9a23:QcVp4q3oVcMXlEMhFoZYwQqjBU1yeYIsimQD101hICG9Lfb2qy n+ppgmPEHP5Qr5OEtApTiBUJPwJk800aQFm7X5Wo3SITUO2VHYV72KiLGN/9SOIVydygcw79 YET0E6MqyNMbEYt7eK3ODbKadY/DDvysnB7o2/vhQdPj2CKZsQlzuRYjzrbHGeLzM2Y6bReq Dsgvau8FGbCAsqh4mAdzM4dtmGg+eOuIPtYBYACRJiwA6SjQmw4Lq/NxSDxB8RXx5G3L9nqA H+4kDEz5Tml8v+5g7X1mfV4ZgTsNz9yuFbDMjJrsQOMD3jhiuheYwkcbyfuzIepv2p9T8R4Z TxiiZlG/42x2Laf2mzrxeo8RLnyiwS53jrzkLdqWf/oOTiLQhKSvZptMZ8SF/0+kAgtNZz3O ZgxGSCradaChvGgWDU+8XIbRd3jUC5yEBS39L7t0YvErf2VYUh77D2pChuYdI99WPBmc8a+d BVfYHhDK08SyLfU5ix1VMfsOBFXRwIb167qwY5y4uoOgNt7QVEJn0jtboid0c7heAAoqZ/lp D524RT5flzp5wtHOlA7Nloe7rBNoWKe2OLDF6v
- Ironport-sdr: ZkysGMRK8DJPx81GA2D+JhgcLE/ulq3r/iE06h+t65Y5y1rU7deQ2E9HAMmeuHDZ6qBdjfCF8z RBD9SGsZ0k48Tsg16MFfSXloWB+lBDgFT18W0vKQGXvyZ2UmDYxvOy/Kz9r7FzM34TTSGKaQBu QS7euSL//wrlrpHDk3nWbtH22wKy+YJXFocazMdLIKpzUnnWBhXwElRNQsGbFhjy6in8fmsa56 l+LdVRUFU3LMMR6RpX5SPfTyU4vzZCzD7x4/Hx3AYVXqGxDd/wj+oyeZ3a+fotZUoZ11sUoqOQ bkk=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Thu, Jul 08, 2021 at 02:43:43PM +0200, Juergen Gross wrote:
> In order to avoid problems in case the backend is modifying a response
> on the ring page while the frontend has already seen it, just read the
> response into a local buffer in one go and then operate on that buffer
> only.
>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Thanks, Roger.
|