Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2471393pxu; Mon, 7 Dec 2020 07:27:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaB4xxPbSzVN2uoatG8ONRuIiyhKGUUkz4gXyO5EhKsBIU6nf2zWNKawvn3hOhvwaj+Ygf X-Received: by 2002:a17:906:339a:: with SMTP id v26mr19030070eja.107.1607354856932; Mon, 07 Dec 2020 07:27:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607354856; cv=none; d=google.com; s=arc-20160816; b=0AWPusDSeYECLpjL4PLQVChyTTrde+3HxBfRLq9/EbvFktSU4hRXPC1IukGSnHxOXa wstDLE/0xhDIYEto2nigIMIF0eaGvWFGhoyE3UF57iw1MysDFUcRLRW71CbQkLbMzOgV w15nJsqAgKnR0ENHJlBtVIGzkRnqRKnR27y/tBt4UO9ibcqvBG9nRAJXzoi3nGoBjpmH I6A1FNotb+vIQ3i0HkGRcJlAmwmuUErQvYNak29KHSjCrH09+6zVQuBp2AX9s919/yy3 JtOt6Ro0c2S7yYd7aKD0yYrNIvqAo85nM26IUlA9WbSBJVHt/Pwa4Ha4IVaY07bM5H9n NyGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=+TpbOTHzSJVXqbCK4raM8mW2RGibDKYB60vVJigN/EM=; b=RXQg3exFjxekL0iK+J4NtJiDBOP8NZyTODGu4Hge4E6sbedb7Z2um0h0zA2PHSzoB8 Wj/I/zbkzV7XyNCMLKRItL1IKnxBfj/1JFHOrHbJ/+2Mgzpy0zM/fIBWRiyhK1/AOpgj z0n/x4HYz0GVNZkMKYph4fW8LdPAB8TdsvEixWwAPxg69F7rcdSmODayzqnyYTZ//nnB xqiSOI5Lu+1bQ0nFiMEjjsY4Crm+J02eGWK3VnJn5yAv0XgIOewt6wGqk0MKwn8Ws0pH DZdRrznr0GouJauKUfsR0yFUyOwawVjbjxPh+S/R7wCLvZ7PfNO3EqHoeXwzx9n0JABn C7ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b="oEDTwH/Z"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y26si6908847ejb.149.2020.12.07.07.27.00; Mon, 07 Dec 2020 07:27:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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=@desy.de header.s=default header.b="oEDTwH/Z"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726188AbgLGP0u (ORCPT + 99 others); Mon, 7 Dec 2020 10:26:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgLGP0u (ORCPT ); Mon, 7 Dec 2020 10:26:50 -0500 Received: from smtp-o-1.desy.de (smtp-o-1.desy.de [IPv6:2001:638:700:1038::1:9a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9D26C061749 for ; Mon, 7 Dec 2020 07:26:09 -0800 (PST) Received: from smtp-buf-1.desy.de (smtp-buf-1.desy.de [131.169.56.164]) by smtp-o-1.desy.de (Postfix) with ESMTP id BA24FE084B for ; Mon, 7 Dec 2020 16:26:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-1.desy.de BA24FE084B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1607354765; bh=+TpbOTHzSJVXqbCK4raM8mW2RGibDKYB60vVJigN/EM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=oEDTwH/Z4KnhD4Q+HPSfVM6Ii1AzrH6a0qpUGkMgOpd7hocuKNjsglvxeKIT+hhDV 502qrjyOEN8maRM5XfQbff9i78g7tCdTrg3khV9V3DYZ43/Pi+hDhgkF8cRfC121BI iDeRRw1IXFhAJjgA4d5DRS9wP/U6MH0QA2o+NPds= Received: from smtp-m-1.desy.de (smtp-m-1.desy.de [IPv6:2001:638:700:1038::1:81]) by smtp-buf-1.desy.de (Postfix) with ESMTP id B25951201E1; Mon, 7 Dec 2020 16:26:05 +0100 (CET) X-Virus-Scanned: amavisd-new at desy.de Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-2.desy.de (Postfix) with ESMTP id 875701001A7; Mon, 7 Dec 2020 16:26:05 +0100 (CET) Date: Mon, 7 Dec 2020 16:26:05 +0100 (CET) From: "Mkrtchyan, Tigran" To: Anna Schumaker Cc: schumaker anna , linux-nfs , Olga Kornievskaia Message-ID: <1275679128.2737941.1607354764999.JavaMail.zimbra@desy.de> In-Reply-To: <1368097703.2347355.1607122227971.JavaMail.zimbra@desy.de> References: <20201203201841.103294-1-Anna.Schumaker@Netapp.com> <852166252.2305208.1607096860375.JavaMail.zimbra@desy.de> <1368097703.2347355.1607122227971.JavaMail.zimbra@desy.de> Subject: Re: [PATCH 0/3] NFS: Disable READ_PLUS by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_3980 (ZimbraWebClient - FF83 (Mac)/8.8.15_GA_3980) Thread-Topic: Disable READ_PLUS by default Thread-Index: CVXkTobkLp+LUmxBgVQ7J6y9MaGlng1S/xZ1 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Anna I re-run bisect on your tree with tag nfs-for-5.10-1 as bad and 5.9.0 as good. The bisect point to commit a14a63594cc2e5bdcbb1543d29df945da71e380f, which makes more sense. [centos@os-46-nfs-devel linux-nfs]$ git bisect good c567552612ece787b178e3b147b5854ad422a836 is the first bad commit commit c567552612ece787b178e3b147b5854ad422a836 Author: Anna Schumaker Date: Wed May 28 13:41:22 2014 -0400 NFS: Add READ_PLUS data segment support This patch adds client support for decoding a single NFS4_CONTENT_DATA segment returned by the server. This is the simplest implementation possible, since it does not account for any hole segments in the reply. Signed-off-by: Anna Schumaker fs/nfs/nfs42xdr.c | 141 ++++++++++++++++++++++++++++++++++++++++++++++ fs/nfs/nfs4client.c | 2 + fs/nfs/nfs4proc.c | 43 +++++++++++++- fs/nfs/nfs4xdr.c | 1 + include/linux/nfs4.h | 2 +- include/linux/nfs_fs_sb.h | 1 + include/linux/nfs_xdr.h | 2 +- 7 files changed, 187 insertions(+), 5 deletions(-) Best regards, Tigran ----- Original Message ----- > From: "Tigran Mkrtchyan" > To: "Olga Kornievskaia" > Cc: "schumaker anna" , "linux-nfs" , "Anna Schumaker" > > Sent: Friday, 4 December, 2020 23:50:27 > Subject: Re: [PATCH 0/3] NFS: Disable READ_PLUS by default > I agree with Olga, especially that disabling doesn't fixes my issue. > Unfortunately I have no idea how kernel's vm works, but I am > ready to test as many times as needed. > > Thanks, > Tigran. > > ----- Original Message ----- >> From: "Olga Kornievskaia" >> To: "Tigran Mkrtchyan" >> Cc: "schumaker anna" , "linux-nfs" >> , "Anna Schumaker" >> >> Sent: Friday, 4 December, 2020 21:00:32 >> Subject: Re: [PATCH 0/3] NFS: Disable READ_PLUS by default > >> I object to putting the disable patch in, I think we need to fix the problem. >> >> The current problem is generic/263 is failing because the end of the >> buffer is corrupted since we lost the bytes when hole was expanded. I >> don't know what the solution is: (1) hole expanding handling needs to >> be fixed to not lose data or (2) we shouldnt be reporting that we read >> the bytes we lost. >> >> On Fri, Dec 4, 2020 at 10:49 AM Mkrtchyan, Tigran >> wrote: >>> >>> Hi Anna, >>> >>> I see problems with gedeviceinfo and bisected it to >>> c567552612ece787b178e3b147b5854ad422a836. >>> The commit itself doesn't look that can break it, but might >>> be can help you find the problem. >>> >>> What I see, that after xdr_read_pages call the xdr stream points >>> to a some random point (or wrong page) >>> >>> Regards, >>> Tigran. >>> >>> >>> ----- Original Message ----- >>> > From: "schumaker anna" >>> > To: "linux-nfs" >>> > Cc: "Anna Schumaker" >>> > Sent: Thursday, 3 December, 2020 21:18:38 >>> > Subject: [PATCH 0/3] NFS: Disable READ_PLUS by default >>> >>> > From: Anna Schumaker >>> > >>> > I've been scratching my head about what's going on with xfstests generic/091 >>> > and generic/263, but I'm not sure what else to look at at this point. >>> > This patchset disables READ_PLUS by default by marking it as a >>> > developer-only kconfig option. >>> > >>> > I also included a couple of patches fixing some other issues that were >>> > noticed while inspecting the code. These patches don't help the tests >>> > pass, but they do fail later on after applying so it does feel like >>> > progress. >>> > >>> > I'm hopeful the remaning issues can be worked out in the future. >>> > >>> > Thanks, >>> > Anna >>> > >>> > >>> > Anna Schumaker (3): >>> > NFS: Disable READ_PLUS by default >>> > NFS: Allocate a scratch page for READ_PLUS >>> > SUNRPC: Keep buf->len in sync with xdr->nwords when expanding holes >>> > >>> > fs/nfs/Kconfig | 9 +++++++++ >>> > fs/nfs/nfs42xdr.c | 2 ++ >>> > fs/nfs/nfs4proc.c | 2 +- >>> > fs/nfs/read.c | 13 +++++++++++-- >>> > include/linux/nfs_xdr.h | 1 + >>> > net/sunrpc/xdr.c | 3 ++- >>> > 6 files changed, 26 insertions(+), 4 deletions(-) >>> > >>> > -- > > > > 2.29.2