[PATCH -progs] Fix unused-but-set errors in gcc-4.6

2011-03-07 Thread Chris Ball
gcc-4.6 (as shipped in Fedora) turns on -Wunused-but-set-variable by default, which breaks the build when combined with -Wall, e.g.: debug-tree.c: In function ‘print_extent_leaf’: debug-tree.c:45:13: error: variable ‘last_len’ set but not used [-Werror=unused-but-set-variable]

Summer of Code project idea

2011-03-07 Thread Clemens Eisserer
Hi, Will btrfs/oracle mentor students for this year's Google Summer of Code 2011? I would like to work on a Windows-IFS driver which uses coLinux as a backend - and therefor support all Filesystems the Linux kernel has drivers for. Although not as cool as a native btrfs driver for windows, in

btrfs lacking inode or file count?

2011-03-07 Thread Jens Rosenboom
I'm just starting to do some testing with btrfs and I noticed that df -i doesn't give any sensible output: backup01 ~ # df -i /mnt/backup01-p1/ FilesystemInodes IUsed IFree IUse% Mounted on /dev/mapper/backup01p1 0 0 0- /mnt/backup01-p1

Re: Summer of Code project idea

2011-03-07 Thread Chris Mason
Excerpts from Clemens Eisserer's message of 2011-03-07 11:38:15 -0500: Hi, Will btrfs/oracle mentor students for this year's Google Summer of Code 2011? I would like to work on a Windows-IFS driver which uses coLinux as a backend - and therefor support all Filesystems the Linux kernel

Re: [RFC] a couple of i_nlink fixes in btrfs

2011-03-07 Thread Chris Mason
Excerpts from Al Viro's message of 2011-03-04 12:13:53 -0500: a) rename() plays with i_nlink of old_inode; bad, since it's not locked. I'd add a variant of btrfs_unlink_inode() that would leave btrfs_drop_nlink()/btrfs_update_inode() to callers and use it instead. b) btrfs_link()

Re: Summer of Code project idea

2011-03-07 Thread Clemens Eisserer
Hi Chris, I think there are a ton of good summer of code ideas for Btrfs, but the windows driver option isn't quite at the top of my list.  It isn't that I have something against windows, but there's a ton of work to be done on the Linux side that I'd rather concentrate on first ;) Hmm,

resize ate my root node

2011-03-07 Thread Peter Stuge
Hi, I ran btrfsctl resize -r -3gb /dev/sda2 using wireless-testing.git based on 2.6.38-rc6 and all seemed good. df reported reduced size so I repartitioned and rebooted. Filesystem can no longer be mounted: [10560.129038] device fsid b2408c2e83f55cc2-5f7a14e35f176484 devid 1 transid 341132

Re: [PATCH] btrfs file write debugging patch

2011-03-07 Thread Maria Wikström
mån 2011-03-07 klockan 00:07 -0600 skrev Mitch Harder: On Sun, Mar 6, 2011 at 6:58 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Chris Mason's message of 2011-03-06 13:00:27 -0500: Excerpts from Mitch Harder's message of 2011-03-05 11:50:14 -0500: I've constructed a test

Re: [PATCH] btrfs file write debugging patch

2011-03-07 Thread Johannes Hirte
On Monday 07 March 2011 20:56:50 Maria Wikström wrote: mån 2011-03-07 klockan 00:07 -0600 skrev Mitch Harder: On Sun, Mar 6, 2011 at 6:58 PM, Chris Mason chris.ma...@oracle.com wrote: Excerpts from Chris Mason's message of 2011-03-06 13:00:27 -0500: Excerpts from Mitch Harder's message

Crash and burn

2011-03-07 Thread D.S. Ljungmark
I've managed to get a corrupted filesystem that's bad enough off that I get fun and interesting kernel BUG()'s from it: [0.00] Linux version 2.6.35.3-10.3-netbook (abuild@build25) (gcc version 4.5.0 20100414 (MeeGo 4.5.0-1) (GCC) ) #1 SMP PREEMPT Fri Oct 15 17:53:05 UTC 2010 [

Re: BTRFS fsck tool

2011-03-07 Thread Spelic
On 03/05/2011 12:59 AM, Alexey A Nikitin wrote: Hi, everybody I have BTRFS RAID0 setup with two disks. After some incident where I had to force shutdown machine this array won't mount anymore Have you reset the machine or cut the power? I don't really know btrfs, but in btrfs wiki there is

RE: [PATCH] btrfs file write debugging patch

2011-03-07 Thread Zhong, Xin
From my experience, only x86 32bit kernel has this problem and 64bit kernel do not have it. However, atom based system do not have it although it's installed with a 32bit kernel. -Original Message- From: Johannes Hirte [mailto:johannes.hi...@fem.tu-ilmenau.de] Sent: Tuesday, March

Re: About btrfs chunk tree backups

2011-03-07 Thread Miao Xie
On Thu, 3 Mar 2011 07:37:25 -0500, Josef Bacik wrote: On Thu, Mar 03, 2011 at 05:01:00PM +0800, Miao Xie wrote: Hi, Chris and Josef Recently, I am interested in chunk tree backups, which is described in Project ideas web. But I found it is hard to be implemented. The description said make

Re: BTRFS fsck tool

2011-03-07 Thread Alexey A Nikitin
2011/3/7 Spelic spe...@shiftmail.org On 03/05/2011 12:59 AM, Alexey A Nikitin wrote: Hi, everybody I have BTRFS RAID0 setup with two disks. After some incident where I had to force shutdown machine this array won't mount anymore Have you reset the machine or cut the power? 4s power

Re: BTRFS fsck tool

2011-03-07 Thread Peter Stuge
Hi, Alexey A Nikitin wrote: I went experimenting with btrfs RAID0 on my USB setup .. because I'm a reckless experimenter when it doesn't involve production systems. I encountered the same broken root node issue. (see thread resize ate my root node) and I'd like to understand it better.