Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp1138519pxb; Sat, 9 Jan 2021 08:44:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiAQHLOL/CuDGZpfXxo1ZA+wSOdhv4tWGXEW0FHSH32l1DCMZwQCQimfpgcxQ8mpI93+WT X-Received: by 2002:a17:906:2798:: with SMTP id j24mr6013194ejc.328.1610210676388; Sat, 09 Jan 2021 08:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610210676; cv=none; d=google.com; s=arc-20160816; b=uMYBwZfRO12CRtaffMqIKaA3EtdJowxloXjxdG/Wy7td+9tc3Diaao394pkAylkUwN pBbXl5ZeL7WXcrFJ6IqSjLk70pwV1aJFFmViVCH6PAl7XKeX3F+Z+94LwsUKLFvpqupk vAPVTj2NH2+gJHMXuSe1BuLB85NH9qxMLnbCTuCCMk8xU8n4DOfSsHQdcS1RLbR3fltQ hhE5n4+prlPkZCtLZQh7KiOkBMNdbxX4y0THe9YdMz+xpEchRl8RbNtL+r6yV8HZAlAv 7fw8Kdluxtl4dUnTxp6AdYWyn8iUsLBj5PEtFFpsSFwZKKU2/rY0/gbeLfGp3W0+TruD i6ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=ho3F3kTcVhRFyUblQ56FqK4OSpjJHLvKLUnUoUjxBj4=; b=GYhSoOToaMKiwASNsN0QJbCqBvWsydF7LTydgl/a7bw6Go2U9EqxuRLaZoaT9rYZdd jCd8waJI8Y5/3Z87C08C55fRCzOyJyjx8enimFcdfD1K1fkt9PUvd5AcjvTQ5uTqWj5d wWLot2B+84YV12L55gQOBtLb7cYkcAQK83tSmMIsAzPcdm7Y69/ppyRdP9rQr6gN61k8 e9WMyyGnp2RCQqyKlpdMur0+K13HUosspR/Yo0iHl5dpbSQpFkI92/H5EYlff/FqvOSe NsdQuamTJp70M4edIGD8HnKRA9TxNhXsEMCKyxJPH+4E9Y9r6yTbrrjIb0f2iR8T3Bz9 U4fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Qkk9OyuH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si4786551ejt.469.2021.01.09.08.44.10; Sat, 09 Jan 2021 08:44:36 -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=@oracle.com header.s=corp-2020-01-29 header.b=Qkk9OyuH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726058AbhAIQoB (ORCPT + 99 others); Sat, 9 Jan 2021 11:44:01 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:60810 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbhAIQoB (ORCPT ); Sat, 9 Jan 2021 11:44:01 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 109GdTOo189978; Sat, 9 Jan 2021 16:43:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2020-01-29; bh=ho3F3kTcVhRFyUblQ56FqK4OSpjJHLvKLUnUoUjxBj4=; b=Qkk9OyuH+1MnO90lEqRCGXwWmeB9X9Zc249XR1fpjMPwcWgHJxR5R8qFXMTB8Q1XA9i+ egB+/IpbgncmIfLKhovzpBNu7sdusxy8QkWUuLs30m4hOc/mDtVd2FBZli+z+VLirXJg DuZU9e3qjYW0HAwirL+yW+jXvO79v5vypsh8dbSYY/ttoSCYjZt6mwIQw4lE+6T13iVf 9efsa6Ko6sH5aCWMOxtgO1SwLnKJCfz8JoJASCVa14t4WztSMOp4q8sDK8CWDhwoXfbF Sgsnlpk1zvlDTRgRRLkx1fX/+JlSaFMAx57c5QPbCP2EurrEMn2YNmHUIA36LIED1QS1 bw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 35y20ah5tk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 09 Jan 2021 16:43:17 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 109GeZ6I143269; Sat, 9 Jan 2021 16:43:16 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 35y3thccwq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 09 Jan 2021 16:43:15 +0000 Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 109Gh6wT004066; Sat, 9 Jan 2021 16:43:10 GMT Received: from anon-dhcp-153.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 09 Jan 2021 08:43:06 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH v1 00/42] Update NFSD XDR functions From: Chuck Lever In-Reply-To: <6c36769a8e9e47cdd26e3f818917401ba69ff390.camel@hammerspace.com> Date: Sat, 9 Jan 2021 11:43:05 -0500 Cc: Bruce Fields , Linux NFS Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: References: <160986050640.5532.16498408936966394862.stgit@klimt.1015granger.net> <20210108031800.GA13604@fieldses.org> <20210108155209.GC4183@fieldses.org> <20210108160145.GD4183@fieldses.org> <20210108180810.GA10654@fieldses.org> <6c36769a8e9e47cdd26e3f818917401ba69ff390.camel@hammerspace.com> To: Trond Myklebust X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9859 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 phishscore=0 mlxscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101090110 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9859 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101090110 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Jan 8, 2021, at 5:54 PM, Trond Myklebust = wrote: >=20 > On Fri, 2021-01-08 at 13:08 -0500, bfields@fieldses.org wrote: >> On Fri, Jan 08, 2021 at 04:35:50PM +0000, Trond Myklebust wrote: >>> Just ignore generic/465. As far as NFS is concerned, the test has >>> utterly borked assumptions about O_DIRECT ordering. >>=20 >> Thanks, adding to my list of tests to skip. Should we report it as >> an >> xfstests bug? >>=20 >> (Is the test just wrong, or is this some non-standard but documented >> NFS >> behavior, or something else?) >>=20 >> --b. >=20 > I'm not sure who decided the ordering requirements for O_DIRECT, but = in > order to fix the generic/465 case, I'd either have to order all reads > with all outstanding writes or implement some kind of range locking to > do it in a more fine-grained way. >=20 > We do order buffered I/O and O_DIRECT, so that backup programs can do > their thing on databases that use O_DIRECT. However we do assume that > anyone using O_DIRECT for I/O is doing their own synchronisation. Perhaps the best approach would be to add generic/465 to the exempt-list for NFS. -- Chuck Lever