From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-btrfs@vger.kernel.org
Cc: Sylvain Alain <d2racing911@gmail.com>
Subject: Re: Question about btrfs snapshot delay and rm -rf delay
Date: Sat, 8 Dec 2012 12:41:47 +0100 [thread overview]
Message-ID: <201212081241.48191.Martin@lichtvoll.de> (raw)
In-Reply-To: <CACR_K2ss6LSQYeeEVcxmSvpEL-fHifO0trdaBmgURCQpgJi5kQ@mail.gmail.com>
Am Freitag, 7. Dezember 2012 schrieb Sylvain Alain:
> Hi, I tested the fstrim
>
> root@sysresccd /root % time fstrim -v /mnt/gentoo
> /mnt/gentoo: 8148938752 bytes were trimmed
>
> I noticed that my btrfs hang my SSD only with small files.
>
> I tested with removing the /usr/src/linux directory(kernel sources)
> with emerge -C vanilla-sources from Gentoo and I noticed this
> behaviour.
>
> So, should I remove the discard option or not from my /etc/fstab ?
Did you test whether removing it fixes the delays?
If not, I think there is no need to remove it.
If yes, remove it and use fstrim instead.
Thats my suggestion.
Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
next prev parent reply other threads:[~2012-12-08 11:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 13:48 Question about btrfs snapshot delay and rm -rf delay Sylvain Alain
2012-12-08 11:41 ` Martin Steigerwald [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-06 4:56 Sylvain Alain
2012-12-06 5:14 ` Rock Lee
2012-12-06 6:31 ` Marc MERLIN
2012-12-06 12:52 ` Sylvain Alain
2012-12-06 12:59 ` Sander
2012-12-06 18:52 ` Martin Steigerwald
2012-12-06 18:55 ` Martin Steigerwald
2012-12-06 19:37 ` Sander
2012-12-06 18:54 ` Martin Steigerwald
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=201212081241.48191.Martin@lichtvoll.de \
--to=martin@lichtvoll.de \
--cc=d2racing911@gmail.com \
--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).