linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about btrfs snapshot delay and rm -rf delay
@ 2012-12-06  4:56 Sylvain Alain
  2012-12-06  5:14 ` Rock Lee
  2012-12-06  6:31 ` Marc MERLIN
  0 siblings, 2 replies; 11+ messages in thread
From: Sylvain Alain @ 2012-12-06  4:56 UTC (permalink / raw)
  To: linux-btrfs

Hi everyone, I'm running btrfs since octobre 2012 and I would like to
understand 2 behavior that I noticed.

1. When I delete a big directory, sometimes it can hang my box for 1
minutes or so, it seems that's the btrfs lock my SSD.

2. Sometimes when I run btrfs subvolume snapshot @root @backup, it can
run the command in a split seconde, and sometimes the command can last
for about 3 minutes.

My SSD installation is about 3.1 gigs of data.

My main question is this : Is there any log about the btrfs filesystem
that I can look at to see why and what is going on.

I'm running the vanilla-souces 3.6.9. with btrfs-prog 0.20-rc1

For more detail about my box  :
https://gentooquebec.org/gwiki/index.php/Utilisateur:D2_racing

Thanks :P

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Question about btrfs snapshot delay and rm -rf delay
@ 2012-12-07 13:48 Sylvain Alain
  2012-12-08 11:41 ` Martin Steigerwald
  0 siblings, 1 reply; 11+ messages in thread
From: Sylvain Alain @ 2012-12-07 13:48 UTC (permalink / raw)
  To: linux-btrfs

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 ?

--
Salut
alp
Sylvain

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-08 11:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06  4:56 Question about btrfs snapshot delay and rm -rf delay 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
  -- strict thread matches above, loose matches on Subject: below --
2012-12-07 13:48 Sylvain Alain
2012-12-08 11:41 ` Martin Steigerwald

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).