Re: curious writes on mounted, not used btrfs filesystem

2011-05-22 Thread Stephane Chazelas
2011-05-21 14:58:21 +0200, Tomasz Chmielewski: I have a btrfs filesystem (2.6.39) which is mounted, but otherwise, not used: # lsof -n|grep /mnt/btrfs processes with open fds are one thing. You could also have loop devices setup on it for instance. # I noticed that whenever I do sync,

Re: curious writes on mounted, not used btrfs filesystem

2011-05-22 Thread Tomasz Chmielewski
On 22.05.2011 11:34, Stephane Chazelas wrote: 2011-05-21 14:58:21 +0200, Tomasz Chmielewski: I have a btrfs filesystem (2.6.39) which is mounted, but otherwise, not used: # lsof -n|grep /mnt/btrfs processes with open fds are one thing. You could also have loop devices setup on it for

Re: kernel BUG at fs/btrfs/inode.c:2271!

2011-05-22 Thread Marco Neubauer
Am 03.05.2011 um 16:54 schrieb Josef Bacik: On 04/27/2011 02:52 PM, Marco Neubauer wrote: Hi, this is happening mostly every night. I can't reproduce it right now. vanilla kernel 2.6.38.4 Can you update to a newer kernel, this should be fixed there. Thanks, It's happening again.

Re: curious writes on mounted, not used btrfs filesystem

2011-05-22 Thread Swâmi Petaramesh
Le dimanche 22 mai 2011 à 10:34 +0100, Stephane Chazelas a écrit : I noticed that whenever I do sync, btrfs will write for around 6.5s and write 13 MB (see below). [...] I had also noticed here, without really paying further attention, that external USB HDs with a BTRFS mounted, but

Re: curious writes on mounted, not used btrfs filesystem

2011-05-22 Thread Stephane Chazelas
2011-05-22 11:52:37 +0200, Tomasz Chmielewski: [...] Can you try running these commands yourself: iostat -k 1 /your/btrfs/device And in a second terminal: while true; do sync ; done To see if your btrfs makes writes on sync each time? [...] Yes it does. And I see: