Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1236214ybl; Wed, 28 Aug 2019 11:34:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzp3A1k56e+5FyX9PFsAHKBNugRvo/rZlD16iCdA7wz/7GUC58VOCTeH0OCXnwo+aQRnpp7 X-Received: by 2002:a63:6a81:: with SMTP id f123mr4788747pgc.348.1567017257313; Wed, 28 Aug 2019 11:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567017257; cv=none; d=google.com; s=arc-20160816; b=ukAvn7fAISCX8Dlrertcy3Zix2sevq4Sslf36oewWOkW8xPtXSZKZ/pasbqRLO2EZG 98ohIgKeCL/UxDgSvEEfA17SvH/B2tKEBAT4VFz6/HDR27pPuYb8lrqxXuGLaVW1WUCq eQqExgbF8L7Hr/MyRO0mpRKYBY850XRE8DoSiHeYxmfWnWZUQQNFE9nfX8OjuXmojexT mUAcyftL4QemELegHTSdw1wkvT7P+jP785puaCbSrTaVo0Pf1jePtoaan0kac8L9iORu yLCQ7DX/pQ2kky6C7hL4YG2vQzA34ahJcSMmUrYqGmRLNpOd6PQjPvTxCHDYqtnVIFgY URpg== 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=nccx2nbG485XKK4DOK00XPOP6x6+W3860xXn3+7nMBk=; b=yJIJjLVmfyAdb9oORtJr8MytUUVwJTkeAQLkMmqSQGXC+RdXd7UriSWMnI3IRiTWOk 9XaJFkWICdRj+ij6fV6PsggnA88lMsOgLOH0vGPHQwtRMzBA/8jK8IosbqP5Z+YEFG7M QHZiZhJ+lScFr1Rw97BKofuBE2YhGNCX+aQ8icAAFGL1/HmEPBmjNgx3dsiXWNmyWgQR 0bzhYf2ZwlHmU6c6hES/mRjMA+eQkBC0qKVWgIeuggf+oNDTPEV2u1xZ+OSeGhoyz5Sd +s2jpsoMUMeA7y8VQiqCNTyP2KEFVir7G5aZv/8ig+mEySNGMaUWEjdlO1pVbMJcK/yM cHCw== 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 p15si2209119plr.17.2019.08.28.11.34.02; Wed, 28 Aug 2019 11:34:17 -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 S1726603AbfH1Sdz (ORCPT + 99 others); Wed, 28 Aug 2019 14:33:55 -0400 Received: from fieldses.org ([173.255.197.46]:49384 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbfH1Sdz (ORCPT ); Wed, 28 Aug 2019 14:33:55 -0400 Received: by fieldses.org (Postfix, from userid 2815) id AD7341CB4; Wed, 28 Aug 2019 14:33:54 -0400 (EDT) Date: Wed, 28 Aug 2019 14:33:54 -0400 From: "J. Bruce Fields" To: Jason L Tibbitts III Cc: linux-nfs@vger.kernel.org, km@cm4all.com, linux-kernel@vger.kernel.org Subject: Re: Regression in 5.1.20: Reading long directory fails Message-ID: <20190828183354.GD29148@fieldses.org> References: <20190828174609.GB29148@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Aug 28, 2019 at 01:29:00PM -0500, Jason L Tibbitts III wrote: > If I had any idea how to do that, I happily would. I'm certainly > willing to learn. At least I can run strace to see where ls bombs: Somewhat of a caveman, I might start at the code for getdents, sprinkle printk's around until I get down to the relevant code in the NFS layer.... There's probably a better way to do it with tracing. > getdents64(5, 0x7fc13afaf040, 262144) = -1 EIO (Input/output error) > > bcodding on IRC mentioned that is a rather large count. Does make me > wonder if the server is weirding out and sending the client bogus data. > Certainly a server reboot, or maybe even just unmounting and remounting > the filesystem or copying the data to another filesystem would tell me > that. In any case, as soon as I am able to mess with that server, I'll > know more. Might also be worth capturing the network traffic and checking whether wireshark thinks the server replies are valid xdr. --b.