Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4454391ybi; Tue, 11 Jun 2019 06:59:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL7bXOhLXY9b16CJ1zbPastHsp9tTPzosu/Z0oq2O7uJo5KQtxwG/Hz68YFKS4cWZHnLCk X-Received: by 2002:a63:c94f:: with SMTP id y15mr20676257pgg.159.1560261575911; Tue, 11 Jun 2019 06:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560261575; cv=none; d=google.com; s=arc-20160816; b=j5EjYElnbKNGj8JQ6eUoa0S3HrnNbCIrBdL5aCEauUa8rxpUXbtW21MsAzLKinniWZ 7x7pAZiG+qSyODUzuyF90RYYv9FWJipv2KY0SUyBDyWIDDB0xcM3KxKJZoMR1aQrgqO4 BDt+9WWf+guJIK54OW4f1uRVKwQ5S62LHFIzDVE8Et92keeFmOnMWMHYzR5to1lOuei8 oZ5ro4WL3N1BOVihhXyB6HD6zO9fso0GsLiRepDGhh9LzqLf2OrTwb1/CmPem8FFe4w0 +fe9FX5x82oAESgfrzxksP4TJBXwwNhnmwCIrgTX6As0WaUQrR0Fn5t1MsonjnV/L3Og H28A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-topic:thread-index:mime-version :subject:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=CsMAzuFdmNhfVQSO7EcQAOCMvpimJoWCyVHvQ4hJiXI=; b=o7OJUZRY4pFaUbBapMy6HYqnpfBNN+WvtS5yL4XpOI2qhyUE0ZCoKIW1r0lHuUjHdg jNiDGtSNPmW1TcDDDGEB4ZDEZo+neElrcOVSFvEk5CprZs4rWzG/X2zo5s/Pz4QJdW2K fy8sFDgWX33WZofRn7GIbJjVdonWI9my5bGLYFsIL3p8MSMa48I6bAXkdtJ4X5H4BXmB iDW8tDtItVzVu/cJYtbJV3Rx0TIkAPRSFhEYpFWdskcqLk/W5A7HZkcIP1mphz+3d0BO QAtg0MBVqdZZpwapRXclJ+B36HutaUIpxRwpr0eP0sYb/XQipMib0Z08ZF7EgC4FLNG3 BKYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@desy.de header.s=default header.b=sM67Kd5w; 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 go9si4871365plb.268.2019.06.11.06.59.08; Tue, 11 Jun 2019 06:59:35 -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; dkim=pass header.i=@desy.de header.s=default header.b=sM67Kd5w; 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 S2389960AbfFKNDz (ORCPT + 99 others); Tue, 11 Jun 2019 09:03:55 -0400 Received: from smtp-o-3.desy.de ([131.169.56.156]:54877 "EHLO smtp-o-3.desy.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389958AbfFKNDz (ORCPT ); Tue, 11 Jun 2019 09:03:55 -0400 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 947F3600D9 for ; Tue, 11 Jun 2019 15:03:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-3.desy.de 947F3600D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1560258232; bh=CsMAzuFdmNhfVQSO7EcQAOCMvpimJoWCyVHvQ4hJiXI=; h=Date:From:To:Cc:Subject:From; b=sM67Kd5wrypi/sxzzlor2CWCTp/BKuKsSGsY5ZBYFf1zVsYw9IRrerf5KjACIktgg jtub3Pd3TPTl5cKIyRes5WKp80dhik6VxyZ4mkP4pTr32doMiyge2PRBROEllEbgu+ 5KciMrh7RJX6doHgzTWo3HO1NCfXq8g1eZzNVqnc= Received: from smtp-m-3.desy.de (smtp-m-3.desy.de [131.169.56.131]) by smtp-buf-3.desy.de (Postfix) with ESMTP id 8FE0AA0077; Tue, 11 Jun 2019 15:03:52 +0200 (CEST) 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 6AC43C003B; Tue, 11 Jun 2019 15:03:52 +0200 (CEST) Date: Tue, 11 Jun 2019 15:03:52 +0200 (CEST) From: "Mkrtchyan, Tigran" To: linux-nfs Cc: zhangliguang@linux.alibaba.com Message-ID: <2024266154.11538202.1560258232350.JavaMail.zimbra@desy.de> Subject: Extra READDIR with kernel 5.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_11538200_1789860588.1560258232349" X-Mailer: Zimbra 8.8.10_GA_3781 (ZimbraWebClient - FF67 (Linux)/8.8.10_GA_3786) Thread-Index: raQR/MgkwKOLJ8uasroI1UgJ9Ku+9Q== Thread-Topic: Extra READDIR with kernel 5.1 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org ------=_Part_11538200_1789860588.1560258232349 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Dear NFS fellows, by inspecting networks trace I have notice that directory listing with 5.1 kernel always sends an extra READDIR request after a final reply was received (values follows = No, EOF = Yes). I see this with v3 and v4.1. A similar observation was reported by Armin Zentai: https://www.spinics.net/lists/linux-nfs/msg73328.html This behavior was introduced with commit be4c2d4723a4. Regards, Tigran. ------=_Part_11538200_1789860588.1560258232349 Content-Type: application/vnd.tcpdump.pcap; name=readdir-5.1.pcap Content-Disposition: attachment; filename=readdir-5.1.pcap Content-Transfer-Encoding: base64 1MOyoQIABAAAAAAAAAAAAAAABAABAAAAmmz/XNvMDgAGAQAABgEAAAAADJ/wuVwmCnhIZggARQAA +ERCQABABnUFg6m51YOpv5AD2wgBw00jgZXsoDKAGAH1gaMAAAEBCArUMQm37useLIAAAMBmdjra AAAAAAAAAAIAAYajAAAABAAAAAEAAAABAAAAHAAAAAAAAAADYW5pAAAAAAAAAAAAAAAAAQAAAAAA AAAAAAAAAAAAAAAAAAABAAAAAwAAADVc/2yXAAAAAgAAAAAAAAABAAAADQAAAAAAAAAAAAAAAAAA ABYAAAAbAcr/7gAAAAAAAAAAAQ0AAAgAAAAAAAAAAQEwAAAAABoAAAAAAAAAAAAAAAAAAAAAAAA/ 6gAA/6gAAAACABgJGgCwojqabP9cdPcOAIoBAACKAQAAXCYKeEhmaL2r14RBCABFAAF8hCVAAD4G Np6Dqb+Qg6m51QgBA9uV7KAyw00kRYAYAFjIzQAAAQEICu7rHjfUMQm3gAABRGZ2OtoAAAABAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAADUAAAAAXP9slwAAAAIAAAAAAAAAAQAAAA0AAAAA AAAADwAAAA8AAAAAAAAAFgAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAGAAAAB2V4cG9y dHMAAAAAAgAYARoAsKI6AAAArAAAAAIAAAAAAAAAAQAAAAAAAAIAAAAAAAAAABEAAAAAAAAAEQAA ABsByv/uAAAAAAAAAAABDQAACAAAAAAAAAADATAAAAAAAAAAAAMAAAHtAAAAAwAAAAEwAAAAAAAA DXJvb3RAZGVzeS5hZnMAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAFus2zIUkEhAAAAAAFus2zUslZMA AAAAAFus2zUslZMAAAAAAAAAAAMAAAAAAAAAAZps/1xw+A4ABgEAAAYBAAAAAAyf8LlcJgp4SGYI AEUAAPhEREAAQAZ1A4OpudWDqb+QA9sIAcNNJEWV7KF6g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