Re: btrfs corruption after resuming from suspend to disk

2014-01-01 Thread Duncan
Nicolas Boichat posted on Wed, 01 Jan 2014 14:01:16 +0800 as excerpted: I've been running btrfs for less than a month now, on my /home directory. Not sure if it is relevant, but I had a number of kernel panics over that month (unrelated to btrfs). Yesterday, upon resuming from suspend to

Re: Migrate to bcache: A few questions

2014-01-01 Thread Duncan
Austin S Hemmelgarn posted on Mon, 30 Dec 2013 11:02:21 -0500 as excerpted: I've actually tried a simmilar configuration myself a couple of times (also using Gentoo in-fact), and I can tell you from experience that unless things have changed greatly since kernel 3.12.1, it really isn't worth

Re: btrfs corruption after resuming from suspend to disk

2014-01-01 Thread Nicolas Boichat
Hi Duncan, (sorry for the strange formatting, I was not subscribed to the list and didn't get your message by email, now I am subscribed) First, thank you for your reply. Duncan 1i5t5.duncan at cox.net 2014-01-01 09:21:28 GMT Nicolas Boichat posted on Wed, 01 Jan 2014 14:01:16 +0800 as

[PATCH] Skip non-regular files in recursive defrag

2014-01-01 Thread Pascal VITOUX
--- cmds-filesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 1c1926b..979dbd9 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -646,7 +646,7 @@ static int defrag_callback(const char *fpath, const struct stat *sb,

Re: [PATCH RESEND] btrfs: remove dead code

2014-01-01 Thread Filipe David Manana
On Wed, Jan 1, 2014 at 5:19 AM, Michal Nazarewicz min...@mina86.com wrote: [commit 8185554d: fix incorrect inode acl reset] introduced a dead code by adding a condition which can never be true to an else branch. The condition can never be true because it is already checked by a previous if

Re: [PATCH RESEND] btrfs: remove dead code

2014-01-01 Thread Michal Nazarewicz
On Wed, Jan 1, 2014 at 5:19 AM, Michal Nazarewicz min...@mina86.com wrote: [commit 8185554d: fix incorrect inode acl reset] introduced a dead code by adding a condition which can never be true to an else branch. The condition can never be true because it is already checked by a previous if

Re: Migrate to bcache: A few questions

2014-01-01 Thread Austin S Hemmelgarn
On 12/30/2013 11:02 AM, Austin S Hemmelgarn wrote: As an alternative to using bcache, you might try something simmilar to the following: 64G SSD with /boot, /, and /usr Other HDD with /var, /usr/portage, /usr/src, and /home tmpfs or ramdisk for /tmp and /var/tmp This is

Re: btrfs-transaction blocked for more than 120 seconds

2014-01-01 Thread Sulla
Dear Duncan! Thanks very much for your exhaustive answer. Hm, I also thought of fragmentation. Alhtough I don't think this is really very likely, as my server doesn't serve things that likely cause fragmentation. It is a mailserver (but only maildir-format), fileserver for windows clients (huge

coredump in btrfsck

2014-01-01 Thread Oliver Mangold
I fear, I broke my FS by running btrfsck. I tried 'btrfsck --repair' and it fixed several problems but finally crashed with some debug message from 'extent-tree.c', so I also tried 'btrfsck --repair --init-extent-tree'. Since then I can't mount the FS anymore: mount -t btrfs

Re: coredump in btrfsck

2014-01-01 Thread Chris Murphy
On Jan 1, 2014, at 2:27 PM, Oliver Mangold o.mang...@gmail.com wrote: I fear, I broke my FS by running btrfsck. I tried 'btrfsck --repair' and it fixed several problems but finally crashed with some debug message from 'extent-tree.c', so I also tried 'btrfsck --repair --init-extent-tree'.

Re: coredump in btrfsck

2014-01-01 Thread Oliver Mangold
On 01.01.2014 22:58, Chris Murphy wrote: On Jan 1, 2014, at 2:27 PM, Oliver Mangold o.mang...@gmail.com wrote: I fear, I broke my FS by running btrfsck. I tried 'btrfsck --repair' and it fixed several problems but finally crashed with some debug message from 'extent-tree.c', so I also tried