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.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 16267C49ED6 for ; Thu, 12 Sep 2019 00:10:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D37812085B for ; Thu, 12 Sep 2019 00:10:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=georgianit.com header.i=@georgianit.com header.b="fBsebRWQ"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="QNdoF3bW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728105AbfILAKQ (ORCPT ); Wed, 11 Sep 2019 20:10:16 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60541 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727477AbfILAKP (ORCPT ); Wed, 11 Sep 2019 20:10:15 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2345E2260E; Wed, 11 Sep 2019 20:10:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 11 Sep 2019 20:10:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=georgianit.com; h=subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm3; bh=LXnPcXFz3wJxdF5fTpbmehN7bps ZFLe+qW+mPhJu3iw=; b=fBsebRWQ5BcITJEn0B/TXR4zERoaKaEJM60e/n7QCUT AagC4v2NWu10UE1T6KJqoCTEe0s5S1+evjmG+NxLEEwYGG8vlxGsT2z6HM9M/7tr D7FIE4RBCI++Y0jSG6ePiF3pKR6YLeeT2m51HWpLbt7kxrzF0YMHJLe5Z19rM4VP RAkR51nhrKfh3tfMLHogCgn+fRNjsyxILT4+VRd3l8MTZoADbrTU4DrNmHR1tupK 9Ef2Hb6e91HgAFWHQbu4aRNNO2WqlqexCPpWNRityoPg6dVPXdAbG0dbnXuPwVkx +4gyIJp3DcZLGcv5QVG/3z/TMaZ677YEt6H0S2TABuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=LXnPcX Fz3wJxdF5fTpbmehN7bpsZFLe+qW+mPhJu3iw=; b=QNdoF3bWR2GLrIiJ8oCbkm yOnbXLPbFdOBNMQPvqM7yvzP52L3vgK8V/6mJYwUD5WRHBTZ4Eb4v+5kopjytvPd C5hxufJ+VSgwd8uUcie5g1hKfwjmAGlMoNYnaBJBEyuj4wmc2HKc7GUNdMbdR/lS KbQ7ToEs61HFtxMyRLL6QJ0pyRj9sSZKaA5bUxDbfSJ9OM7t8VS7dq0u1oDGuxf0 kPIwDJdk4uNsaA4D2bFV5rrkk8P3gm0Ta8ggtOE18pADWq3krolySCmpzkmPUjo9 uDeTcRfUxDbnxykdZYj97Z5fFSGG4Phl46P+s2UZL6Ne0GFmABzDAwh2VOaWsebg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrtdeggdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtsehgtderof dtfeejnecuhfhrohhmpeftvghmihcuifgruhhvihhnuceorhgvmhhisehgvghorhhgihgr nhhithdrtghomheqnecukfhppedufeehrddvfedrvdegiedrudefudenucfrrghrrghmpe hmrghilhhfrhhomheprhgvmhhisehgvghorhhgihgrnhhithdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from [10.0.0.6] (135-23-246-131.cpe.pppoe.ca [135.23.246.131]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C8EB80069; Wed, 11 Sep 2019 20:10:13 -0400 (EDT) Subject: Re: Feature requests: online backup - defrag - change RAID level To: webmaster@zedlx.com, linux-btrfs References: <20190908225508.Horde.51Idygc4ykmhqRn316eLdRO@server53.web-hosting.com> <5e6a9092-b9f9-58d2-d638-9e165d398747@gmx.com> <20190909072518.Horde.c4SobsfDkO6FUtKo3e_kKu0@server53.web-hosting.com> <20190909152625.Horde.fICzOssZXCnCZS2vVHBK-sn@server53.web-hosting.com> <20190910193221.Horde.HYrKYqNVgQ10jshWWA1Gxxu@server53.web-hosting.com> <20190911132053.Horde._wJd24LqxxXx9ujl2r5i7PQ@server53.web-hosting.com> <20190911213704.GB22121@hungrycats.org> <20190911192131.Horde.2lTVSt-Ln94dqLGQKg_USXQ@server53.web-hosting.com> From: Remi Gauvin Openpgp: url=http://www.georgianit.com/pgp/Remi%20Gauvin%20remi%40georgianit.com%20(0xEF539FF247456A6D)%20pub.asc Autocrypt: addr=remi@georgianit.com; prefer-encrypt=mutual; keydata= mQENBFogjcYBCADvI0pxdYyVkEUAIzT6HwYnZ5CAy2czT87Si5mqk4wL4Ulupwfv9TLzaj3R CUgHPNpFsp1n/nKKyOq1ZmE6w5YKx4I8/o9tRl+vjnJr2otfS7XizBaVV7UwziODikOimmT+ sGNfYGcjdJ+CC567g9aAECbvnyxNlncTyUPUdmazOKhmzB4IvG8+M2u+C4c9nVkX2ucf3OuF t/qmeRaF8+nlkCMtAdIVh0F7HBYJ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L8+tLxvUhxUMdXtyYSPusnmFgj/EnCjQdFMLdvgvXI/wF5qj0/ r6NKJWtx3/+OSLW0E9J/gLfimIc3OF49E3S1c35Wj+4Okx9Tpwor7Tw8KwBVbdZA6TyQF08N phFkhgnTK6gl2XqIHaoxPKhI9pKU5oPkg2eI27OICZrpTCppaSh3SGUp0EHPkZuhVfIxg4vF nato30VZr+RMHtPtx813VZ/kzj+2pC/DrwZOtqFeaqJfCi6JSik3vX9BQd9GL4mxytQBZKXz SY9JJa155sI= Message-ID: Date: Wed, 11 Sep 2019 20:10:12 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190911192131.Horde.2lTVSt-Ln94dqLGQKg_USXQ@server53.web-hosting.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RW8cDceBxXX4qErlsuJPVueGf0Nb5TDD8" Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RW8cDceBxXX4qErlsuJPVueGf0Nb5TDD8 Content-Type: multipart/mixed; boundary="PSGRcfIXhGwBzfNBulOJEuxw6dRu5THYs"; protected-headers="v1" From: Remi Gauvin To: webmaster@zedlx.com, linux-btrfs Message-ID: Subject: Re: Feature requests: online backup - defrag - change RAID level References: <20190908225508.Horde.51Idygc4ykmhqRn316eLdRO@server53.web-hosting.com> <5e6a9092-b9f9-58d2-d638-9e165d398747@gmx.com> <20190909072518.Horde.c4SobsfDkO6FUtKo3e_kKu0@server53.web-hosting.com> <20190909152625.Horde.fICzOssZXCnCZS2vVHBK-sn@server53.web-hosting.com> <20190910193221.Horde.HYrKYqNVgQ10jshWWA1Gxxu@server53.web-hosting.com> <20190911132053.Horde._wJd24LqxxXx9ujl2r5i7PQ@server53.web-hosting.com> <20190911213704.GB22121@hungrycats.org> <20190911192131.Horde.2lTVSt-Ln94dqLGQKg_USXQ@server53.web-hosting.com> In-Reply-To: <20190911192131.Horde.2lTVSt-Ln94dqLGQKg_USXQ@server53.web-hosting.com> --PSGRcfIXhGwBzfNBulOJEuxw6dRu5THYs Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-09-11 7:21 p.m., webmaster@zedlx.com wrote: >=20 > For example, lets examine the typical home user. If he is using btrfs, > it means he probably wants snapshots of his data. And, after a few > snapshots, his data is fragmented, and the current defrag can't help > because it does a terrible job in this particualr case. >=20 I shouldn't be replying to your provocative posts, but this is just nonsense. Not to say that Defragmentation can't be better, smarter,, it happens to work very well for typical use. This sounds like you're implying that snapshots fragment data... can you explain that? as far as I know, snapshotting has nothing to do with fragmentation of data. All data is COW, and all files that are subject to random read write will be fragmented, with or without snapshots. And running defrag on your system regularly works just fine. There's a little overhead of space if you are taking regular snapshots, (say hourly snapshots with snapper.) If you have more control/liberty when you take your snapshots, ideally, you would defrag before taking the snaptshop/reflink copy. Again, this only matters to files that are subject to fragmentation in the first place. I suspect if you actually tried using the btrfs defrag, you would find you are making a mountain of a molehill.. There are lots of far more important problems to solve. --PSGRcfIXhGwBzfNBulOJEuxw6dRu5THYs-- --RW8cDceBxXX4qErlsuJPVueGf0Nb5TDD8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJdeYzkAAoJEO9Tn/JHRWptwuIIAInSA+jbBy/UM2Zric0x4KT2 sWybn/YN3+Om7zu2GA1lhNWk3Puoegu+ihqU8tweLt6z9OnXg9JUO1I99ff0UiiR Ge8uu51c7eGuWsJhSPjDzt41lkvcZwLa0lERFJ45ImcxKe5L+cAvr+9fDVro/ZmG cHP4XysAAHbBJGAplrOCZFhrWtaTgOBxkeBUH4ZjBH3HnnZYVuuYHYPZrihpZ4Mw FlHucxZvZFIjLXCJs8G57h7zeIlWbGcpOKAumjiIKPgq3668rNYEig7GP4xdO8A9 q5B5Nqks9f4TFbl+J+0HxXaGZ78dDsz3eW8DnHAT2EsDqP7WHX8aDbzgOlC1YlQ= =fdUL -----END PGP SIGNATURE----- --RW8cDceBxXX4qErlsuJPVueGf0Nb5TDD8--