Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2208423ybe; Thu, 12 Sep 2019 06:15:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxtVMz6ZKMVHdStwzM4NQlK2FAX4Aj4fQwaQoj2z/Us5ozZaeQD5oWxlUnLZUkl1kHyZ/4 X-Received: by 2002:aa7:c347:: with SMTP id j7mr38444895edr.173.1568294128357; Thu, 12 Sep 2019 06:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568294128; cv=none; d=google.com; s=arc-20160816; b=rsU9veYOL8iJcugPAuO8vCJ4bRGVkqIvcS7oNBos4TmNJXkyo5WDI0BUI3FbMvPEF3 3VqKXh9C5M1nKKqyBiL56uuAwzi91ByzsOE0uncuIrmpqaJLxYFTeR9SFANtIbQNghd/ ZkJCAlpVAlDOQD4PoQW6TMrJsqUZ/4IYRNv8slBbU+n05q91QWLqs9J8MN/K+QiyZ6YJ qbhdnSlEgVdCRbH9LC9Y8yDP7tp1hJkszG9Xtd+205ufeTP3JVaYX2qE9S0ZpIfQg5eY DCSG7FTAcg7jFEF23Bhl+0khFJ2g5RiFJ80Zx4WHysVpIGQ+2joQdU8kNw7hC6AJtyfb OcmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+gkVx7OXmlzCakdylzndXgwrZIPog/bi6geKQF/K1qk=; b=B+mhltA2JPAZt4jpZ2YVSb3/PgagMhZn/r4fTC3QLn7L95FDQ7NkuIVXbufJlfLEO6 I9QvFZIUUOVDTDqk2EUj4r9kbSoGdJAkFRd8BN7NIiKohzaQ2kZOAGL8EneeC6km2QRO wKnOcCNN9/QNRSyvRJUOOdnPuufOLZnjG3k80cedtZ4MPXESeN+QAKUF9VIJ5r1Dupz+ aOJWoayWLZBrv2hPcBTMbqt7d473mWhevqz593AobGzzRTXuL+hpuPk/9gLlc4DCmaDW jU3LW0JV2NXuW3D7oX0Y7PMn/Eu2eJbpzpWZvWAkP63AZpOgQBp8P8tQVnGL3WH5fwjy elug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si12491425ejx.375.2019.09.12.06.15.03; Thu, 12 Sep 2019 06:15:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731788AbfILNN7 (ORCPT + 99 others); Thu, 12 Sep 2019 09:13:59 -0400 Received: from fieldses.org ([173.255.197.46]:34772 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731283AbfILNN7 (ORCPT ); Thu, 12 Sep 2019 09:13:59 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 4E3DB1C8C; Thu, 12 Sep 2019 09:13:59 -0400 (EDT) Date: Thu, 12 Sep 2019 09:13:59 -0400 From: "J. Bruce Fields" To: Benjamin Coddington Cc: Trond Myklebust , chuck.lever@oracle.com, tibbs@math.uh.edu, linux@stwm.de, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, km@cm4all.com Subject: Re: Regression in 5.1.20: Reading long directory fails Message-ID: <20190912131359.GB31879@fieldses.org> References: <0089DF80-3A1C-4F0B-A200-28FF7CFD0C65@oracle.com> <429B2B1F-FB55-46C5-8BC5-7644CE9A5894@redhat.com> <8D7EFCEB-4AE6-4963-B66F-4A8EEA5EA42A@redhat.com> <57185A91-0AC8-4805-B6CE-67D629F814C2@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57185A91-0AC8-4805-B6CE-67D629F814C2@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, Sep 12, 2019 at 09:08:51AM -0400, Benjamin Coddington wrote: > > On 12 Sep 2019, at 8:53, Trond Myklebust wrote: > > Let's please just scrap this function and rewrite it as a generic > > function for reading the MIC. It clearly is not a generic function for > > reading arbitrary netobjs, and modifications like the above just make > > the misnomer painfully obvious. > > > > Let's rewrite it as xdr_buf_read_mic() so that we can simplify it where > > possible. > > Ok. I want to assume the mic will not land in the head, but I am not sure.. > Is there a scenario where the mic might land in the head, or is that bit of > the current function left over from other uses? Any reply that doesn't have page data? A reply that ends up shorter than expected due to failure of an early op in the compound? (Unless I'm missing something. I haven't looked at this code in a while. Though it was problem me that wrote it originally--apologies for that....) --b.