Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp623229pxu; Thu, 3 Dec 2020 08:40:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwixCdX2EySlC9RwxI8mSydOXvYC+TG0TpvWUz+rnsjP2iUo1TsU90RgPezizLV861FimM X-Received: by 2002:a17:906:31c2:: with SMTP id f2mr3356820ejf.518.1607013621720; Thu, 03 Dec 2020 08:40:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607013621; cv=none; d=google.com; s=arc-20160816; b=cWVVownWqqgLaG8biJHhyn4CzYzrL4ZCVWRrBnt29eaqKJAqj62fmwpb/zMtE8373m s1OitipbHDGGtpFkZT6MsxVxgx3/iboEsKILqY80A3vmmSBKx6Un/VH3uuacNxMEHH/y 8nWGHAfW5h1Ca/gf2i2C4jIizbuClJIMKP2yilNhRen6FgJQxgwAkI39nJWNM1VCHru7 1yWa9DTEypD708s9C91VRNnmaDHJMLXAhF6o+gQBgmj7ECugRsPOgwBlm/Zj9aswyyQl TbCn1JCm9A3rwX2JiK07S7SgcOfQTmRdx/rmf1SZEQ0KekDSwZ+fRUDZ+llaDX8G+zZD 3UUg== 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=w64YgXlxqOjnAC5dnoSgIg3zEJyEazFDSMdh8/sZMoU=; b=b3ZekXE5wuc6l0+3dXXUmjbUsQC+BL0w88NgJCnpdppInMyv/jXe+hEt5hQlsWjQXP s8endqr3zH1Y1G5MWQAkH2ieC/uDnZnMqETzP7BKs8Zop3WlA8st9oEZeontq0t5+zOI r4vtGjVKcPhw27Ek+rZS6EAfzdtj+dYEQQbq7AHAJkuISQZRrCX6pBvnvl7oXXfYbxr8 OkfV5r69pLNIUr87pRU5x1MjnhtdVn/kCgZR2bxwfiav5IPYkn/bLE99zL7uNf6Szc2c UPVi+CQbeO16L14sbPmXCp5VAx/vQMDQqKtav5KAiv/8lNUTr/F5NzsGE82PQtjbaz44 7H/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=pvHOEc0V; 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 l26si1429982ejd.258.2020.12.03.08.39.53; Thu, 03 Dec 2020 08:40:21 -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=pvHOEc0V; 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 S1726309AbgLCQgs (ORCPT + 99 others); Thu, 3 Dec 2020 11:36:48 -0500 Received: from smtp-o-3.desy.de ([131.169.56.156]:38810 "EHLO smtp-o-3.desy.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbgLCQgs (ORCPT ); Thu, 3 Dec 2020 11:36:48 -0500 Received: from smtp-buf-3.desy.de (smtp-buf-3.desy.de [IPv6:2001:638:700:1038::1:a6]) by smtp-o-3.desy.de (Postfix) with ESMTP id 47A6060A9E for ; Thu, 3 Dec 2020 17:36:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-3.desy.de 47A6060A9E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1607013367; bh=w64YgXlxqOjnAC5dnoSgIg3zEJyEazFDSMdh8/sZMoU=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=pvHOEc0VVcEeREqLL6jQjkFpxT+P7xM3evdksT6gjMWOCFcwpAmxcgaOSb/gBMKcC q7FLLZGsqZY1RkA9OJ94jwfvKoQxnXLUugq4iN3tarW2LzP/BF2A65dmH3mBuFt++1 bC0qeQ4fpdZ9QbBH/1nRuEwd1XwBOaDwHBRmFLGI= Received: from smtp-m-3.desy.de (smtp-m-3.desy.de [IPv6:2001:638:700:1038::1:83]) by smtp-buf-3.desy.de (Postfix) with ESMTP id 42127A0586; Thu, 3 Dec 2020 17:36:07 +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-1.desy.de (Postfix) with ESMTP id 1B64CC0177; Thu, 3 Dec 2020 17:36:07 +0100 (CET) Date: Thu, 3 Dec 2020 17:36:07 +0100 (CET) From: "Mkrtchyan, Tigran" To: Frank van der Linden Cc: Olga Kornievskaia , linux-nfs , trondmy Message-ID: <1111804280.2055084.1607013367020.JavaMail.zimbra@desy.de> In-Reply-To: <20201203161858.GA27349@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> References: <2137763922.1852883.1606983653611.JavaMail.zimbra@desy.de> <1296195278.2032485.1607010192169.JavaMail.zimbra@desy.de> <20201203161858.GA27349@dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com> Subject: Re: Kernel OPS when using xattr 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: Kernel OPS when using xattr Thread-Index: bDBSD7BRH6vvGSbCIoRzSwp4vkO7Zw== Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org The patch from Frank works. ( you can attribute with Tested-by if needed) Tigran. ----- Original Message ----- > From: "Frank van der Linden" > To: "Tigran Mkrtchyan" > Cc: "Olga Kornievskaia" , "linux-nfs" , "trondmy" > Sent: Thursday, 3 December, 2020 17:18:58 > Subject: Re: Kernel OPS when using xattr > On Thu, Dec 03, 2020 at 04:43:12PM +0100, Mkrtchyan, Tigran wrote: >> >> Hi Olga, >> >> Franks patches are not applied. I will check with Trond's patch and >> then will try those as well. >> >> Regards, >> Tigran. > > Since my change no longer uses SPARSE_PAGES, it'll probably avoid the > oops, so give it a try. > > Having said that, fixing SPARSE_PAGES seems like a better option.. My > ideal outcome would be to have a working SPARSE_PAGES for all transports. > That would allow GETXATTR and LISTXATTRS to just always specify a max > size array of pages, giving it maximum flexibility to cache the received > result no matter what, and avoiding allocations that are too large. > > For now, though, I'm happy with the v2 patch I sent in. > > - Frank