From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F05E4C3A5A1 for ; Wed, 28 Aug 2019 17:28:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF4CA22DA7 for ; Wed, 28 Aug 2019 17:28:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726520AbfH1R2u (ORCPT ); Wed, 28 Aug 2019 13:28:50 -0400 Received: from fieldses.org ([173.255.197.46]:49336 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbfH1R2u (ORCPT ); Wed, 28 Aug 2019 13:28:50 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 9A2F7BD8; Wed, 28 Aug 2019 13:28:49 -0400 (EDT) Date: Wed, 28 Aug 2019 13:28:49 -0400 To: Su Yanjun Cc: linux-nfs@vger.kernel.org, cuiyue-fnst@cn.fujitsu.com Subject: Re: NFS issues about aio and dio test Message-ID: <20190828172849.GA29148@fieldses.org> References: <975395cc-62f2-843f-cc71-82339b2869cd@cn.fujitsu.com> <65ea4ea2-548f-1546-059a-af901bba2e87@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <65ea4ea2-548f-1546-059a-af901bba2e87@cn.fujitsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Aug 26, 2019 at 08:37:41AM +0800, Su Yanjun wrote: > Any ping? > > 在 2019/8/6 14:08, Su Yanjun 写道: > >Hi, > > > >When I tested xfstests generic/465 with NFS, there was something > >unexpected. > > > >When memory of NFS server was 10G, test passed. > >But when memory of NFS server was 4G, test failed. > > > >Fail message was as below. > >    non-aio dio test > >    encounter an error: block 4 offset 0, content 62 > >    aio-dio test > >    encounter an error: block 1 offset 0, content 62 > > > >All of the NFS versions(v3 v4.0 v4.1 v4.2) have  this problem. > >Maybe something is wrong about NFS's I/O operation. > > > >Thanks in advance. Off the top of my head it doesn't look familiar. What kernel version are you running on client and server? Did this test previously pass on an older kernel (so, was this a recent regression?) Have you looked at generic/465 to see what exactly is happening here? --b.