linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Cc: "Swâmi Petaramesh" <swami@petaramesh.org>
Subject: Re: Does defragmenting even work
Date: Thu, 28 Feb 2013 16:35:29 +0100	[thread overview]
Message-ID: <201302281635.29702.Martin@lichtvoll.de> (raw)
In-Reply-To: <512F6B30.1060409@petaramesh.org>

Am Donnerstag, 28. Februar 2013 schrieb Swâmi Petaramesh:
> BTW...
> 
> I'm not even sure that "btrfs filesystem defrag <somefile>" actually
> does anything...
> 
> If I run "filefrag <somefile>" afterwards, it typically shows the same
> number of fragments that it did prior to running defrag...
> 
> I'm not sure about how it actually works and what I should expect...

Again:

Make sure that you run "sync" before looking at the extent state with 
filefrag -v

btrfs filesystem defrag may not have *immediate* effect.

I explained and demonstrated it in a response to you in the other thread 
that has been about this.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

      parent reply	other threads:[~2013-02-28 15:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 14:35 Does defragmenting even work Swâmi Petaramesh
2013-02-28 14:44 ` cwillu
2013-02-28 15:00 ` Calvin Walton
2013-02-28 15:00 ` Hugo Mills
2013-02-28 15:16   ` Swâmi Petaramesh
2013-02-28 15:35 ` Martin Steigerwald [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201302281635.29702.Martin@lichtvoll.de \
    --to=martin@lichtvoll.de \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=swami@petaramesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).