linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Subject: fstrim on BTRFS
Date: Wed, 28 Dec 2011 17:57:15 +0100	[thread overview]
Message-ID: <201112281757.16019.Martin@lichtvoll.de> (raw)

Hi!

With 3.2-rc4 (probably earlier), Ext4 seems to remember what areas it 
trimmed:

merkaba:~> fstrim -v /boot
/boot: 224657408 bytes were trimmed
merkaba:~> fstrim -v /boot
/boot: 0 bytes were trimmed


But BTRFS does not:

merkaba:~> fstrim -v /
/: 4431613952 bytes were trimmed
merkaba:~> fstrim -v /    
/: 4341846016 bytes were trimmed


Is it planned to add this feature to BTRFS as well?


I wish you a relaxed between Christmas and new year time,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

             reply	other threads:[~2011-12-28 16:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-28 16:57 Martin Steigerwald [this message]
2011-12-29  4:02 ` fstrim on BTRFS Li Zefan
2011-12-29  4:21   ` Fajar A. Nugraha
2011-12-29  4:32     ` Fajar A. Nugraha
2011-12-29  4:37     ` Roman Mamedov
2011-12-29  4:42       ` Fajar A. Nugraha
2011-12-29  5:29         ` cwillu
2011-12-29 10:52   ` Martin Steigerwald
2012-01-03 21:05   ` Chris Mason
2011-12-29  4:29 ` Fajar A. Nugraha
2011-12-29  9:39   ` Li Zefan
2011-12-29  9:52     ` Fajar A. Nugraha
2011-12-30  6:19       ` Li Zefan
2011-12-30  6:35         ` Fajar A. Nugraha
  -- strict thread matches above, loose matches on Subject: below --
2014-10-31  0:21 Noah Massey

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=201112281757.16019.Martin@lichtvoll.de \
    --to=martin@lichtvoll.de \
    --cc=linux-btrfs@vger.kernel.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).