Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp258679rwd; Mon, 12 Jun 2023 13:06:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7F02m+78wFFyKFcGTeW6b19vi6Ok3oJ/Axn14zTcVottCYTjRt0a6DKyYzPQRw/886uhqn X-Received: by 2002:a17:907:6d9e:b0:97e:a917:e6a5 with SMTP id sb30-20020a1709076d9e00b0097ea917e6a5mr7311964ejc.19.1686600370648; Mon, 12 Jun 2023 13:06:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686600370; cv=none; d=google.com; s=arc-20160816; b=gdkShYHvjSzFy3hd79oU3SjIC99CMUKvDWkKHcJCaAKPHUfob3wDa9G70/RgRXwCJf JCn1kQKj0VXSxNK2MMpw95ROjo75hzNVJ3y6ujf+DDf0dpFtiXfiHghUyhkm8tcW+SPf dl1OJbKf7DXd1Aizh5qKBH9TsBKTZpQvfL4NpRv32rquz76rAaZTA4ytCFhEkqyh6zQN sBbu65V2B2Y0nGAh09Yt5eW0/cN2OWs29q7AUX4Q/osnZ9O+GMywcioRz4k4E9B0a7PE uEOP5y6q1qnKVCwwTgiYGhFJnXkga6TCID35KOofAEpy6Z4ekLYoWhCpEiqqh1TQbuRL 27nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=euaVp0YqDcucWkUVSOBsl3OVy6SOn1DPaJZY5WOv6GU=; b=Ty2nLoMn1JkdLezzggw1sexYY4ldUdzby0dYoSHbLxykJhmt+kFei3WiywYtDOEQ5M 1uOTGMx1PNHiQwYlmlAO1xi0/7w/khZw2IZQDfh3lYr6E682Yum+gESyQQ3Cdr6hq0cW cYt1cT3jdM7SFKSKZCxOrb7sLOKmjT80pm11PJWC1nj6zj1moKvmFZhAST/P0062f68F tdicVFxSGEbDOCHPbQHOQsWsQNBbK+C0t26m4YNtLDIQtf4S4RiNqkZfCm5Oh6JDFfFC YdlbkJDzhdnip60cRZeG1nVyRz1gED5NXw0kUbYFBVGL3ye4Q+o7NqjjPAtZx8ewwzTI +JzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EUa3xPPj; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wq14-20020a170907064e00b00965cad16f33si5306976ejb.820.2023.06.12.13.05.45; Mon, 12 Jun 2023 13:06:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EUa3xPPj; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236013AbjFLUEs (ORCPT + 99 others); Mon, 12 Jun 2023 16:04:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234808AbjFLUEh (ORCPT ); Mon, 12 Jun 2023 16:04:37 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6CA10FC for ; Mon, 12 Jun 2023 13:04:35 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-97881a996a0so844470766b.0 for ; Mon, 12 Jun 2023 13:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686600274; x=1689192274; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=euaVp0YqDcucWkUVSOBsl3OVy6SOn1DPaJZY5WOv6GU=; b=EUa3xPPj+JFq+Nx6WfSxe34cX09aywKeTJai1I4P/Ttko2lnRqN33SaEbbSnZMRbjK KaLn2mh8IvK4YmYqmuK1Dpse8Ho5oAmDOD5jewjzE0yGWvxqm0FqGcpWXVuL7XMlu5Xo ca/EopEjTQA+38kT+s7/TPVQsVrEKyg0CspWpjn5w332BBC61H+LYXr8JQudRjwK0HoS mLCA3IQdS3Re8MFVsQ3WoMAoOjp9UKGTUMPTcilDlW9rD+PQ2lnuNDZwSXubSY1T13Y1 JJ7LlqQgC73nCqdKSiaO3I9gaUJvamDy8OknJhOc0UmMsJLbEyRze91wum1cTxOy+wmg +hBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686600274; x=1689192274; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=euaVp0YqDcucWkUVSOBsl3OVy6SOn1DPaJZY5WOv6GU=; b=SRSyfSpOI04MgDKT1NmfbrM8ZGHlr5pEreubr9YyP95xyyII/vCTrvVR28+LoH4xia OY5gBtQEWRbDCnt8lPyU7aDDKaE6+nOypQwgJwOF7v1/YJ74rSwVo891BEtGrWt2r7Tc 352By/x7FH1TN2UdZPm0fbM+nhxNb1ihfUbMJfE9zEsc2EUd4Ozlx2orP0+ugBLpnwDZ OQDaNU3JEzlGZCLDYCf9j2M+g0WjuTX1I0+FbEz3EfS7wygJ7kfkc79EoLvkXnEQWPXm AluIR/AJmzT1Fof2yE2ByXMrB3m37YlogsDez1wfAekGUtPvMtJI9ED2jzEvFrRb+//B y1Bw== X-Gm-Message-State: AC+VfDxQNZDyqvbnsqPv15/hQj6vSvY7kLy3Yq1MnB16ZsV2qxI1jZu9 NMnQ95eW1dqV5w+padQtyYmfCU64Ell/VUDYCQc= X-Received: by 2002:a17:907:748:b0:974:5ce6:f9f6 with SMTP id xc8-20020a170907074800b009745ce6f9f6mr11080277ejb.10.1686600274390; Mon, 12 Jun 2023 13:04:34 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id m25-20020a1709062b9900b0096637a19dccsm5557721ejg.210.2023.06.12.13.04.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jun 2023 13:04:33 -0700 (PDT) Message-ID: Date: Mon, 12 Jun 2023 22:04:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v3 3/3] NFSv4.2: Rework scratch handling for READ_PLUS (again) To: Anna Schumaker Cc: linux-nfs@vger.kernel.org, trond.myklebust@hammerspace.com References: <20230609200013.849882-1-anna@kernel.org> <20230609200013.849882-3-anna@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 12/06/2023 21:57, Anna Schumaker wrote: >>> I fix this by moving scratch handling into the pageio read code. I >>> provide a function to allocate scratch space for decoding read replies, >>> and free the scratch buffer when the nfs_pgio_header is freed. >>> >>> Krzysztof Kozlowski hit a bug a while ago with similar symptoms, >>> and I'm hopeful that this patch fixes his issue. >> >> Unfortunately it does not help. Same NULL ptr, next-20230609 with this >> patchset: > > That's unfortunate. I was really hoping between patch #2 and #3 that > it would finally address the issue. I think you said your client is > ARM v7, that's 32-bit right? I'll try to do some 32-bit testing to see Yes, it's 32-bit ARM. > if that uncovers anything on my end. In the meantime, I'll try to > update the debugging printk() patch based on what I learned while > working patch #3 last week. I'll try to get that to you in the next > day or two. > Best regards, Krzysztof