Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1599136pxb; Thu, 4 Mar 2021 15:58:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2+Pxu6vqDM5SU8BmPOiGAWbaEvA+d/ipBj8mdbOoAlXPcB99yi+V7G4McXkk6FTrObbrF X-Received: by 2002:a05:6e02:c88:: with SMTP id b8mr6023464ile.135.1614902293138; Thu, 04 Mar 2021 15:58:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614902293; cv=none; d=google.com; s=arc-20160816; b=0iFvWDsKF9jPZudKC0rk1CHwW8rYD3txw/NDAe/lxXvnslfcnbyTN8l4POEkVID6iK IdQpg1zzfcjOpiZGs/2II4/32JvAdSshGuRRM75gH3EZ+H8JNSLKXbE15QHlWv81LBTZ WJgBcSKNwuzML6wNoBIvR0YxYNRvyaS+MJDSWaZalsqiVx7nr+CSHUCa0Apm+Fz9IQmu gPUGPK7zS/4smpcuRPXLfhfZQThgJ8GATExUaGKu2wv1DB/77yJhV/+L2HZLwqqe5YtC xiqIccISBjakEVc4kL5XV+cBsRV4plZ1sJyQ1miDHXvaItgQOD4ZSexxAJiUnca/P95p sYkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=sTuzPvlcg16fbBgmFy94KTHMV1T9YmkUXGCfaTEzoPM=; b=v+X8tavYB7l1IbwtE+iZkKnzS/zcAtoAMAjbsgaj5346WXxB1zmvZGETij3u7iqVtK EVqGQdXMSpi8855IW2eP5nj2i0cZy0+ARJ/vETokMHminam2UPPl5gEdwuiivv/oH1R6 qR9pt/1YsOLoK9Ka5ey2DFPIkkrzFECdUbWO4aPv5Y18YwYkDTcaTx6V7IS2rTVDITrX HbOqDdmZw6K0U3YQXx4qcgq6avGYwEvD+hGESch06LHRrbrCKDx0Uo1C8rtW49l2nLx5 evdJtm9iRo1RTQmjrZ7zSwpvGFoa3pi9K/LX71JvfCVHoyzwhaJDeM3OQhHyNxhWfRav VR5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EzBTs9e1; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si674898ils.23.2021.03.04.15.57.59; Thu, 04 Mar 2021 15:58:13 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=EzBTs9e1; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbhCDBPY (ORCPT + 99 others); Wed, 3 Mar 2021 20:15:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:57274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242000AbhCDBKt (ORCPT ); Wed, 3 Mar 2021 20:10:49 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id 4D54264F6C; Thu, 4 Mar 2021 01:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614820207; bh=/qfHgCUQRUTtXcdHTg/4f1oGqVVw7OYzXDkei16Mxyk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=EzBTs9e1LYuzADZ949c/ipQWsXZQpjmvSrDB65r12adcaIi0EZb/cT/r70JpTK88/ I6o51vmspNQ2JHzJYg8bKl0LV6/nszWlz+cyXfdelMMeHdk6v3yhTXUlKnfm8LFlxo xftehVbt4CzPwVVDm4JsrSQx8TVRnw/V579tdY+LlBQFmM8w1/91IuLCdpSCZmbgnL nPuoZI32XYo8x5yHDKwwwXv7/d8CqCduRFtM2YyPN/BYeAEF48b5AI9EOM8/WVt5zJ aLpsewjZxdUPlznSI9qzf3Q7+hWjEsA98xWI1jvcb2RGVDn6X6Lb2M2QxMOe74YHAJ 2iS9oAu0NZoQQ== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 3D496609D4; Thu, 4 Mar 2021 01:10:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: 9p: advance iov on empty read From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161482020724.32353.3785422808049340949.git-patchwork-notify@kernel.org> Date: Thu, 04 Mar 2021 01:10:07 +0000 References: <20210302171932.28e86231@xhacker.debian> In-Reply-To: <20210302171932.28e86231@xhacker.debian> To: Jisheng Zhang Cc: ericvh@gmail.com, lucho@ionkov.net, asmadeus@codewreck.org, davem@davemloft.net, kuba@kernel.org, v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 2 Mar 2021 17:19:32 +0800 you wrote: > I met below warning when cating a small size(about 80bytes) txt file > on 9pfs(msize=2097152 is passed to 9p mount option), the reason is we > miss iov_iter_advance() if the read count is 0 for zerocopy case, so > we didn't truncate the pipe, then iov_iter_pipe() thinks the pipe is > full. Fix it by removing the exception for 0 to ensure to call > iov_iter_advance() even on empty read for zerocopy case. > > [...] Here is the summary with links: - [v2] net: 9p: advance iov on empty read https://git.kernel.org/netdev/net/c/d65614a01d24 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html