Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp329467pxm; Wed, 2 Mar 2022 16:32:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZLSU1uSthOsbmGy1pYEaicvlYtPkWU7AGUAnMU6PQCZfP+VvJPS2ybGlAmsg6Z42NEAwK X-Received: by 2002:a65:4549:0:b0:378:c0b0:c153 with SMTP id x9-20020a654549000000b00378c0b0c153mr12534101pgr.177.1646267544174; Wed, 02 Mar 2022 16:32:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646267544; cv=none; d=google.com; s=arc-20160816; b=todbN00Bmzrt1Mk66F52mHL9PUmSe8Q7nWCMvfRLD6Q2BDkbYwn2hjrlckHTloNeJU lOUQIKFuk3bVH7SDnJgjGwSmjCyfg+p35CLj47pMEnu/LqQu6WLmUAEZ6Rg4Y847lSmQ dvIxZQQ1ta+mU59s6dxtTptGeMzMynQe7yhPmjRYyGMjp1990LlSWVAYNdAQISyHrOtX xoF9Ut0QzHcM+CezHYYI/uJoKaL+HYxE4rsfF1Bj+3MwsOxY2qFOqsWXZAFST2LibGMb dvY+Icwi921cZKNCqJNe/xjrO8cy+pzkGmyk7P0AWWP0XswKTZ4kIY10kD41yfTfJ1pz 31DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jrfHaieIrrnkEMFMMnMrlJtDDEUiIE870C40v9q8pok=; b=sgXm1wrzF/60ze+emQlp6OuR2mjoNWHe99SGr1P1EGUT62Ri9gRBll+oTR0D/FUi/m RZNt8gdBCTeYpO366hv5ajP0ZHREq4kOKjrWbyxGIz+b/TTBag3bGs+8yhTlDlL1SEVJ PKNKKfNaneZFjgwbBwjH8wuHHKvDM7yl2/b4aO9uU3YZuvTaXhwCebZ9cQx6OEu6KBP6 gfxS/7WbFstK6NoubLM4TEZWQkjSqiOE/ZID47xbOzNJHcrkzSp7H1B1S1xYhLHaRW3i SRXLh+C/2zZQx6KGMmhnx4R/q1S6SLAETmwXM9B080/1rmp4MioxfFa4EAOYp09OmgG5 7RPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20210112.gappssmtp.com header.s=20210112 header.b=WuiWBeDQ; spf=softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id oj18-20020a17090b4d9200b001bef96c9766si478823pjb.23.2022.03.02.16.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:32:24 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20210112.gappssmtp.com header.s=20210112 header.b=WuiWBeDQ; spf=softfail (google.com: domain of transitioning linux-nfs-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6F2E1235304; Wed, 2 Mar 2022 15:43:10 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233295AbiCBW04 (ORCPT + 99 others); Wed, 2 Mar 2022 17:26:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231917AbiCBW0z (ORCPT ); Wed, 2 Mar 2022 17:26:55 -0500 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 351E9E4495 for ; Wed, 2 Mar 2022 14:26:11 -0800 (PST) Received: by mail-qt1-x82e.google.com with SMTP id u28so1216084qtc.4 for ; Wed, 02 Mar 2022 14:26:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jrfHaieIrrnkEMFMMnMrlJtDDEUiIE870C40v9q8pok=; b=WuiWBeDQEirv15kTs9RA62KsWALm8MYwiaCU7QYBjf4PRzgOBrqM7hDU63CTDkZtN3 u6ebE4e5G2xUnhEkMWJmQCSvUqC8osmDr5JCw3eCd8xt1Xiy/Y5Y2mAXVitBEJLaVFdN C4P3EUjvgGTs7W9o/uHiKBJUTx9hRKAIMDwHQJgr/AH0rPH80/RO9yoljHErwsfGx2Ki 1s0sLazWI3rlq18VzaRUpqgLHFAzJFOEjDt6LoGjz05tCgjrVt8kdQa5YkQmx0gp/zp/ PBpoeS2yNWsWBXz1SuVAnra5xg6FxZLzfxUaWGDOC2UARlxfYTPA+yHE/mznmEVbVQSr h9YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jrfHaieIrrnkEMFMMnMrlJtDDEUiIE870C40v9q8pok=; b=pXcmpy1ricVkf5uoxgaIa1lYFl3YpaZ+C073+2jgjnam0WzXNq1rOL3Mp+pV5ON48l obKz+PEuITIDWMd8DcO1SfsmzreZRfBqJ0Ovn5nQxPaxSKCl2Z0fz+Mpc5eajsn6gAkA Xr0Ypi5hyAAZfRqI/9GH+57HXFO3LbsB1QH4nCrigpvUvvuLyOPeyjfR1mNh0dPK/bQy mqkoIvKuTvfPMJuN+rF6bpgt51piXAy+rSX71x4e8T/CvhIbSuGstg1TxfiK9M6Kqj3G IhXzTFGbQoSDr+lxrZhc435BHtVs1FVnq7F9/fpCdixtrV7xSQTrQHQh6n3i1E9hYQp5 IH0w== X-Gm-Message-State: AOAM530XWU9o0Omyu+YQJL7sBG5YzzwgDrtc95fLcxFiqP+7WuHik/c/ C8TiieRiANiJCVSW+5aWFe86sA== X-Received: by 2002:ac8:5cc9:0:b0:2de:8838:5888 with SMTP id s9-20020ac85cc9000000b002de88385888mr26116071qta.370.1646259970183; Wed, 02 Mar 2022 14:26:10 -0800 (PST) Received: from localhost (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id n13-20020ac85b4d000000b002de6fe91d2fsm180318qtw.68.2022.03.02.14.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 14:26:09 -0800 (PST) Date: Wed, 2 Mar 2022 17:26:08 -0500 From: Josef Bacik To: "J. Bruce Fields" Cc: linux-fsdevel , linux-nfs@vger.kernel.org, Chuck Lever Subject: Re: nfs generic/373 failure after "fs: allow cross-vfsmount reflink/dedupe" Message-ID: References: <20220301184221.371853-1-amir73il@gmail.com> <20220302065952.GE3927073@dread.disaster.area> <20220302082658.GF3927073@dread.disaster.area> <20220302211226.GG3927073@dread.disaster.area> <20220302220450.GD10757@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220302220450.GD10757@fieldses.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Mar 02, 2022 at 05:04:50PM -0500, J. Bruce Fields wrote: > I started seeing generic/373 fail on recent linux-next in NFS testing. > > Bisect lands it on aaf40970b1d0 "fs: allow cross-vfsmount > reflink/dedupe". > > The test fails because a clone between two mounts is expected to fail, > and no longer does. > > In my setup both mounts are nfs mounts. They are mounts of different > exports, and the exports are exports of different filesystems. So it > does make sense that the clone should fail. > > I see the NFS client send a CLONE rpc to the server, and the server > return success. That seems wrong. > > Both exported filesystems are xfs, and from the code it looks like the > server calls vfs_clone_file_range(), which ends up calling > xfs_file_remap_range(). > > Are we missing a check now in that xfs case? > > I haven't looked any more closely at what's going on, so I could be > missing something. > Yeah there's a few fstests that test this functionality that need to be removed, I have patches pending for this in our fstests staging tree (since we run fstests nightly on our tree) https://github.com/btrfs/fstests/tree/staging Right now the patches just remove the tests from auto since that's what we run, I'll remove them properly once the patch lands in linus. Thanks, Josef