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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 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 8D484C54FCB for ; Wed, 22 Apr 2020 20:44:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 367A42077D for ; Wed, 22 Apr 2020 20:44:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="HXSw9cFa" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726151AbgDVUo2 (ORCPT ); Wed, 22 Apr 2020 16:44:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgDVUo2 (ORCPT ); Wed, 22 Apr 2020 16:44:28 -0400 Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07ACFC03C1A9 for ; Wed, 22 Apr 2020 13:44:28 -0700 (PDT) Received: from localhost (unknown [172.20.6.135]) by mail.nic.cz (Postfix) with ESMTPSA id 9098B141340; Wed, 22 Apr 2020 22:44:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1587588265; bh=WDQ42LdzczTenRLuytqjSBvxu5tdbcx8rSz2JcqfxGo=; h=Date:From:To; b=HXSw9cFamsPGRbInXulRlpStlAksFM9QHPmjJ6m7GsfdtLmRlxD2AOBhTdQ3mkg7F KRpYO+VuUWO70tlGfRv+qUKjsBH9W5UnU2VjL1lNrvqjW10R3txytk79UTedYNHMAs jqRmU+snHnzpO7euU6r50FG+tv+aG5uD88EvlOTQ= Date: Wed, 22 Apr 2020 22:44:25 +0200 From: Marek Behun To: Chris Murphy Cc: Btrfs BTRFS Subject: Re: when does btrfs create sparse extents? Message-ID: <20200422224425.7f2c6459@nic.cz> In-Reply-To: References: <20200422205209.0e2efd53@nic.cz> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Wed, 22 Apr 2020 14:26:31 -0600 Chris Murphy wrote: > But I wonder if other sources of this sparseness has been considered? > Maybe the build system is creating or preserving sparseness? e.g. `tar > --hole-detection` or `--sparse` is used. I don't actually know how the kernel is copied into the /boot directory in this case. > Another possibility is Btrfs supports two kinds of holes in the > on-disk format for sparse files. Maybe uboot only supported the > original (current default) type, and the bug really fixed the newer > 'no-holes' feature version? No, U-Boot did not support holes at all.