Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4861659pxu; Thu, 10 Dec 2020 07:14:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRIQbIIPXMNRygMDM/+YO9gvRPvALz3UIQbKqUqKvejN70AGaxVRefQdtnqSArClm5nAgx X-Received: by 2002:a17:906:6c94:: with SMTP id s20mr6877190ejr.0.1607613292767; Thu, 10 Dec 2020 07:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607613292; cv=none; d=google.com; s=arc-20160816; b=jDjUEPGj9Pax2sg8tfM/sdb4nW14kK+wFgRJ8T3AkCJnf+wI68ndaf44DaQanW1qak amjLeA0UHrBL4B1Ae3hykhbv2daTtoYAhVi+nwkn/zvz4BLelUGDKSMT2zxTzb6baP8p T3u8OW6tClfmxvGJ35+FvGdpggmVmMEKo0yrteC80UuKy9YAyuVSBoeNdSmN6eAQfD+1 XdQ2J9kAIRvo8jWPAoa/d7sgMv4UwS2PFQFrS1T7ToIwB9Nahg1QBzwwSoAABWcXkzYe DSoBrRNADsbT8bMJBmDsD2hFdyS/9PfcTWSwvuPwn7L0vBolPTkmY3+pusbrC29Pwe+I xTJQ== 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=hhbgovDo2xJedaRiHpshEyjwMv5zHzbAg6pvwHK1J3M=; b=K5RpGLZjtUoa0c9aYTXMVJ87ehgaSkI2D2NLK++ADSVTNJxwq+REtS4UubsM3nqUPX vdHNI0hWMra8y7YuyUjleUAMu8X3UB/M/o7l6Bp/8stZL7EtrTj+i59mZcQ71EnaW8kz rh1FypQsD6nJHK/Tp/id4fBBhuduDegfx9KwmIwUiiYTct+MjIZ8E6rbL77Gyhh7Bz6B S3ItM1QY+bZYq8BP4ShnXdLIC1iNs0pUDgfB7fAoY99ya/FehLEIRA+KGfYLGN/OCP8r soEZM1sAaaLAWank3rIZjRRju3aVwXTy4Byq28Tcg3a0hRCbnA63FZ6TgdYg9w+Dvn44 4pKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=Rj6PjMQs; 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 l7si3185653edv.409.2020.12.10.07.14.27; Thu, 10 Dec 2020 07:14:52 -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=Rj6PjMQs; 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 S2389767AbgLJOys (ORCPT + 99 others); Thu, 10 Dec 2020 09:54:48 -0500 Received: from smtp-o-1.desy.de ([131.169.56.154]:44992 "EHLO smtp-o-1.desy.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389857AbgLJOyp (ORCPT ); Thu, 10 Dec 2020 09:54:45 -0500 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 4403BE07D9 for ; Thu, 10 Dec 2020 15:54:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-1.desy.de 4403BE07D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1607612042; bh=hhbgovDo2xJedaRiHpshEyjwMv5zHzbAg6pvwHK1J3M=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Rj6PjMQsRFxAATyNL08DRBKT4qpciqrbZHn9Ysmq6h0eBeF6pNJDdhHtjRnPTY0ZD NfhsgZT+N7lxVDvjtA3EJIPxMu5mjYxbNsCJAknN6o5QwLnekxgEMHe/NL6iBRStfz x4KCXwt0pLApmU0h1sASj+kpSlguLnIc6IIqW7mk= 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 3E55C1201E1; Thu, 10 Dec 2020 15:54:02 +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-3.desy.de (Postfix) with ESMTP id 14DFF80067; Thu, 10 Dec 2020 15:54:02 +0100 (CET) Date: Thu, 10 Dec 2020 15:54:02 +0100 (CET) From: "Mkrtchyan, Tigran" To: trondmy Cc: linux-nfs , Anna Schumaker Message-ID: <882587239.3555211.1607612041998.JavaMail.zimbra@desy.de> In-Reply-To: References: <20201210105543.22489-1-tigran.mkrtchyan@desy.de> Subject: Re: [PATCH] nfs41: update ff_layout_io_track_ds_error to accept rpc task 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: nfs41: update ff_layout_io_track_ds_error to accept rpc task Thread-Index: AQHWzuMGU+9gXPTj5k+OuFz3grt7VanwZ6AA6QhLby4= Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org ----- Original Message ----- > From: "trondmy" > To: "Tigran Mkrtchyan" , "linux-nfs" > Cc: "Anna Schumaker" > Sent: Thursday, 10 December, 2020 15:42:38 > Subject: Re: [PATCH] nfs41: update ff_layout_io_track_ds_error to accept rpc task > Hi Tigran, > > On Thu, 2020-12-10 at 10:55 +0000, Tigran Mkrtchyan wrote: >> When debugging READ_PLUS issues sent to DS I noticed that layoutstats >> was reporting READ, though READ_PLUS was used. >> >> The ff_layout_io_track_ds_error function takes the 'major' opnum as >> an >> argumentas well as the corresponding resulting error code. >> >> By passing rpc task as an argument, the bogh values can be extracted >> insideff_layout_io_track_ds_error and reduce a possibility of calling >> with incorrect opnum. > > I think we just want to disable READ_PLUS support in pNFS for the > moment. We have no way of discovering and tracking whether or not the > DS actually supports it, so let's leave it out for now. No objections. Tigran. > > -- > Trond Myklebust > Linux NFS client maintainer, Hammerspace > trond.myklebust@hammerspace.com