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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 A3966CA9EC7 for ; Sat, 2 Nov 2019 15:24:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7289C2080F for ; Sat, 2 Nov 2019 15:24:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726574AbfKBPYa (ORCPT ); Sat, 2 Nov 2019 11:24:30 -0400 Received: from rin.romanrm.net ([91.121.75.85]:59164 "EHLO rin.romanrm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbfKBPYa (ORCPT ); Sat, 2 Nov 2019 11:24:30 -0400 Received: from natsu (natsu.2.romanrm.net [IPv6:fd39:aa:7359:7f90:e99e:8f1b:cfc9:ccb8]) by rin.romanrm.net (Postfix) with SMTP id 87F2920373; Sat, 2 Nov 2019 15:24:28 +0000 (UTC) Date: Sat, 2 Nov 2019 20:24:33 +0500 From: Roman Mamedov To: Brian Hansen Cc: linux-btrfs@vger.kernel.org Subject: Re: reflink copy now works with nocow? Message-ID: <20191102202433.1ca92ea5@natsu> In-Reply-To: References: <20191102193624.3411de0d@natsu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Sat, 2 Nov 2019 10:09:27 -0500 Brian Hansen wrote: > So I'll need to setup a script to remove C when moving > directories. The only way to un-nocow a +C file is to physically rewrite it into a new copy. The +C attribute can be removed on existing files only if they are 0 bytes in size. > Unless there is a easier way to deal with this? Try a different/newer kernel version, as noted in my message all of this doesn't seem to matter anymore, and nocow files can now be reflinked (or +C is not working anymore and they aren't actually nocow). -- With respect, Roman