Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp533023ybp; Tue, 8 Oct 2019 23:32:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTRdwarupeMautm5x4xD2Dobk1gC28zoTxuVqW1VOenrBl76qDF+nPb4HDMJiFkBtSWPaf X-Received: by 2002:a17:906:154a:: with SMTP id c10mr1264306ejd.238.1570602745211; Tue, 08 Oct 2019 23:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570602745; cv=none; d=google.com; s=arc-20160816; b=GC1c6T1VOmM028rSEjD1/iFbd8jYsuRO7SwnwCJ0NpRYzY64rQCsWmwQ4Ikf13yvOU IkRSYgbz5J1JCJ9wFfiiAvn9biY5XubO6F3IMqPHWtSj/PsrPJBUPMStTCAlaMQ0RBAr TfRHPVQLbzfGRWN097loK1/TXPEqz1G2iiii2FL1r3D/73OK01HzUCmhk+AwyazmTeWN uvQKIZQugkRfQv4ph/z/A6ULlLqTWbgLIdhsJeE1h/LbvsFzDGfsOKNaNbDh/wPOKwZ7 QeCJoq9yY3/CXLFQCYmYykt8v2XMApf23ebWX5d5EaO67jdGw/3SjXtA9c3ay0HK1cTq jMAQ== 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:dkim-signature; bh=8EvJWeGlkis4V2qIrGZdCq8ITBADZ0WXtWxnOLtuFGc=; b=tvyWSAGNmt72pet8/usfA+0wMagF2tSP3YsNuOmbcENP3kikq4OKGfVxu1PH9SU7c5 P9wl2ZjM38r8l2VL8It5QTqDnQLwxJP1hc2s3IPzmcFjd9hKnOm5DG4begSmduynga9m m2SxAeRtPoLhREEb/YLddVeqtKSoS7Kd4z4sLw5FZJIN58q/hDe5ioBEXfZEzZG+J/dG FCE72qONHpqZ8lFopdEJ7SZ5pTA1HWjJNwwSGRbrfr7bKq65FPCXjxMkWU/yTRXa7LVK 9aQZBb6uSk+e+mHIcvRtXjuBMJ+MqqG9I999G+CaeZObzeiU8srAmaIIxYb8pX/E5CUx FPSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C9FuX4qv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 gg10si623672ejb.206.2019.10.08.23.32.01; Tue, 08 Oct 2019 23:32:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=C9FuX4qv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729686AbfJIGbp (ORCPT + 99 others); Wed, 9 Oct 2019 02:31:45 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42176 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbfJIGbp (ORCPT ); Wed, 9 Oct 2019 02:31:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8EvJWeGlkis4V2qIrGZdCq8ITBADZ0WXtWxnOLtuFGc=; b=C9FuX4qvjvy4ms/l5dezaCgWE D90I0HKSpMbtznxYLCsHSjqrHs2J/MkxPIYVYyX6kwEf0OrcwIbT/Sx1DH6pVAnrXYSnK0FmCR3j7 Z4petnP2+b93gL/dw8bLlqDNEVkEO7Q0utY6Q4Htm0fOEcHQcIKmB5jRi0BROdB87VX1wplpBEiLB epblpnpy35u27Tokbyn1wtomolNlbxxZltrtlhQwOQP6cd8kbnrCQpslH9Uo8A6rPPh26ZyPjT9pf a8p0zyqwI7Hed+GDLTLw6QaNwS9mX2s3omcgw/10Yf5nZl7LTpjteApAupK6H4Qgcx2tqT/QMkyDC U35ZF3mVg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1iI5Vg-0002v9-Dc; Wed, 09 Oct 2019 06:31:44 +0000 Date: Tue, 8 Oct 2019 23:31:44 -0700 From: Christoph Hellwig To: Shiyang Ruan Cc: linux-xfs@vger.kernel.org, linux-nvdimm@lists.01.org, darrick.wong@oracle.com, linux-kernel@vger.kernel.org, rgoldwyn@suse.de, gujx@cn.fujitsu.com, david@fromorbit.com, qi.fuli@fujitsu.com, caoj.fnst@cn.fujitsu.com Subject: Re: [RFC PATCH 0/7] xfs: add reflink & dedupe support for fsdax. Message-ID: <20191009063144.GA4300@infradead.org> References: <20190731114935.11030-1-ruansy.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190731114935.11030-1-ruansy.fnst@cn.fujitsu.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Btw, I just had a chat with Dan last week on this. And he pointed out that while this series deals with the read/write path issues of reflink on DAX it doesn't deal with the mmap side issue that page->mapping and page->index can point back to exactly one file. I think we want a few xfstests that reflink a file and then use the different links using mmap, as that should blow up pretty reliably.