Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp225013pxf; Wed, 10 Mar 2021 05:05:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg014/V9JvewSARutvDqDWtwIhUDB4jG8J+tQyTfn7Yf46gdkkoU/ZZd0/Q33l+nHTebDU X-Received: by 2002:a17:906:2312:: with SMTP id l18mr3625452eja.468.1615381517222; Wed, 10 Mar 2021 05:05:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615381517; cv=none; d=google.com; s=arc-20160816; b=ffW7QJxu4dD4Wl1shx3cLDpjNRo1oIrA3xuSQzgorNfhyyfE9XqxQ7kdIIs9ZiqUKT KMuU3zC3K3XTG1CTV/tdB0xBNwp8zuLKkkK9UzBISutoaqySjapu9yeJyiXvFpjexaEp IDufKVWt/JAmC85x36qY5FcOCePtDJRRRLzMquiph9cbNCI4RkXb3vtK7reM3pIowtGk HiL0g3xtWGgxASo2rvHV8SmRYZCzFcsyjR8WwIbgB1If4zXJJTMCglxxMkT+EioABe0r V8O89n21b2OdNNurhTmh1/ywJ/+5Axrw5+hASJSHQfdsWRHzhO4UZh1cc53B+rEMk4wm w5TA== 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=ALr5iWDNLGdU3HVoDSzUHGSO+jgvXP9RVBf6+KXFgYU=; b=lmOyhIc546wQNu79ISSn36mC0CY5gTEdyqy9YGxBHHaEploadIJIs17M2BbZW96sR6 1J+MQrC2KfTk9wiusdBk0BWew6xM9MxyeeathX9UnI8MIGqchrnpYDoYukSvh7/amauB g/AkHcmeLdqzr4qu0R8o8TSKk2rPFZTaVXec7HJlLMEWZVxgLqLy6wnkVsGj6TS5qjBH Ma1sj89oJA+z3kqASt6pdj4aY478QssbsrbSEzep2Nx06q924FWckza1e3PQKcRl+YxJ Uk+l3iEoYQPoluK4V1mK+agfnGOZgBchsG7REUIW49aZgZ0o2FaN60Y4QypLE6fZsVOT 84PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=G03GxTkr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d24si11644855ejw.372.2021.03.10.05.04.53; Wed, 10 Mar 2021 05:05:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@infradead.org header.s=casper.20170209 header.b=G03GxTkr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230490AbhCJNDD (ORCPT + 99 others); Wed, 10 Mar 2021 08:03:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbhCJNCe (ORCPT ); Wed, 10 Mar 2021 08:02:34 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF6AEC061760; Wed, 10 Mar 2021 05:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=ALr5iWDNLGdU3HVoDSzUHGSO+jgvXP9RVBf6+KXFgYU=; b=G03GxTkrZ0HvyN9TVTTGv9fFLu gglr3sTaBNVnfJtIdTSSB3LxjkuAQCN2m8iNAGscB85rKFvB+BNOo0fcOeMhm6uSOC32XSEbiHq8C pqA92+K31BjmkI5VQ4CKOtGV0af3hjaG+wyN5nnEIbT1f4dhM5s114qtLSudoKjXcF4vjuLaUUQuW PBedOIBQUD58iR43kVmEiEOTxom08dYlGj2BYh9vMwA+ltYAI5zuIhaV6NSnijO6ClL59uCl0bJTl iwWyJUrreoI1HR6Nn9PaGnXWN98KC9HTZzq/VQTuGCX7GPBlPOIRxLVlfNfcjMjnM+7KQ62pgaidJ hsNHYh/Q==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lJyTr-003TrT-Va; Wed, 10 Mar 2021 13:02:28 +0000 Date: Wed, 10 Mar 2021 13:02:27 +0000 From: Matthew Wilcox To: Neal Gompa Cc: Shiyang Ruan , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-nvdimm@lists.01.org, linux-fsdevel , darrick.wong@oracle.com, dan.j.williams@intel.com, jack@suse.cz, viro@zeniv.linux.org.uk, Btrfs BTRFS , ocfs2-devel@oss.oracle.com, david@fromorbit.com, hch@lst.de, rgoldwyn@suse.de Subject: Re: [PATCH v2 00/10] fsdax,xfs: Add reflink&dedupe support for fsdax Message-ID: <20210310130227.GN3479805@casper.infradead.org> References: <20210226002030.653855-1-ruansy.fnst@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 07:30:41AM -0500, Neal Gompa wrote: > Forgive my ignorance, but is there a reason why this isn't wired up to > Btrfs at the same time? It seems weird to me that adding a feature btrfs doesn't support DAX. only ext2, ext4, XFS and FUSE have DAX support. If you think about it, btrfs and DAX are diametrically opposite things. DAX is about giving raw access to the hardware. btrfs is about offering extra value (RAID, checksums, ...), none of which can be done if the filesystem isn't in the read/write path. That's why there's no DAX support in btrfs. If you want DAX, you have to give up all the features you like in btrfs. So you may as well use a different filesystem.