Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2869625pxj; Mon, 17 May 2021 11:45:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1TZY+AHnXFEfB4TQFgTYGnCgHIZoBwYRDvZbGaK2y1u4MLlyGsW3TG/1uvoBXZS7O/DMo X-Received: by 2002:a05:6e02:1ba2:: with SMTP id n2mr1032621ili.60.1621277129755; Mon, 17 May 2021 11:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621277129; cv=none; d=google.com; s=arc-20160816; b=cqLpIab542V3T30d2u3PmLtQ3sWuLmdUhNV+MZg31MDrpzihu975w35sEdHQhBkOfZ j6uKLUg+pbVXDUbhZvi1XiBvQQtNZNX9+vZF5eFjSd4navgY/QMrDofdwFXh3Pwqf9TH cuvTC4nE3lFQOv04x2pof9YLj3jzoyzkIt9fKU3nBzUnz9/3nRATqws7PgWt1motriY5 Ap/igW1MCdhvpR1FWH1NPgknWrdL0pvJ1B5Q/1dp19fRUzzSxk8n7YMl/L5/Jc9yygtk L/fqhQM3YjmtGUAKTVM2giCcXqJ7F2VkqPg2Pk4gVGCDJpzQK3l2CKGnoMTtNsGZEE3z WoMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=+7sasbVGYUEZ5AUFJyqaV2/43qQDZihNx+bYQeU0oug=; b=0d7u2BXFy3o4PvvLn9gbiEiXBQ/DKYkJbmhvULMOiSToejHnwy9xPRVl9y1p6WvmiL 7Pfm9oFWKv2snt0CcfMaGJZ+LotVKLwMPaaIqn2GFL24VpnUJtunPr1G5YSw77NSCQ4s MqOXq51wRUFI6WxzCUm7DjPxLRtOrhgQEWNixXbeVRRHvZyjeIRCXlGsy44REwFMqteV eGxCVGatAGo0K6t7T+jB7bbBE2cSbbEeRYBWrSswfMQk8wq8tjtewm98pmRSBt0XrBzy 5Q39swCSILJe44bv1TTWZQ650T1NIk3EML1Jw9WdcCq48xAahdcmmYsKDk310G74nlmS 9Stg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=I7bynsVI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si4323957jak.112.2021.05.17.11.45.16; Mon, 17 May 2021 11:45:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=I7bynsVI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237541AbhEQNwB (ORCPT + 99 others); Mon, 17 May 2021 09:52:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:41226 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233139AbhEQNwB (ORCPT ); Mon, 17 May 2021 09:52:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621259444; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+7sasbVGYUEZ5AUFJyqaV2/43qQDZihNx+bYQeU0oug=; b=I7bynsVI2NinzMt6jLlxaT7EoTUkMzIIhstMwHywg/jo1hAPH9EXoyrraJJ4DSG2YpY6QI bFqeWwhBNI9Rq1Lz1hnEGwT+7cTBLBPJCgWs+IEqtsZF72gl9f1oYwWJgFZBD5AoVCVQ8w San4lRm2W38SFSoeeTeHGWizy6gMsAo= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 23CA6AEB6; Mon, 17 May 2021 13:50:44 +0000 (UTC) Subject: Re: [PATCH 2/8] xen/blkfront: read response from backend only once To: Juergen Gross Cc: Konrad Rzeszutek Wilk , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Boris Ostrovsky , Stefano Stabellini , Jens Axboe , linux-block@vger.kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20210513100302.22027-1-jgross@suse.com> <20210513100302.22027-3-jgross@suse.com> From: Jan Beulich Message-ID: <8bc3e4e7-a93f-cd8c-3f96-3a8caea38ed3@suse.com> Date: Mon, 17 May 2021 15:50:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210513100302.22027-3-jgross@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13.05.2021 12:02, 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 Reviewed-by: Jan Beulich