Re: [PATCH not for integration] btrfs-devlist: dumps btrfs_device and btrfs_fs_devices from kernel

2014-07-26 Thread Goffredo Baroncelli
On 07/25/2014 02:33 PM, Anand Jain wrote: This would dump the following info: fs_address dev_address dev_root_addr root_fsid fsid name uuid (seed_fsid@seed_addr sprout_fsid@sprout_addr) (fs_num_devices fs_open_devices fs_rw_devices fs_missing_devices fs_total_devices)

Re: Help with Project on brtfs wiki

2014-07-26 Thread Hugo Mills
On Fri, Jul 25, 2014 at 07:16:19PM -0400, Nick Krause wrote: I am new so I think this project,Implement new FALLOC_FL_* modes needs more information for me to write if for you guys. So you've ignored most of the advice I sent you in my last mail. Have you even made a btrfs filesystem yet

Re: Help with Project on brtfs wiki

2014-07-26 Thread Martin Steigerwald
Hi Hugo, Am Samstag, 26. Juli 2014, 11:05:03 schrieb Hugo Mills: I am not asking to hold my hand You are, though. Something like using grep to find code that (might be) related to the thing you're trying to work with is _fundamental_. You should expect to be reading the code -- several

Re: Help with Project on brtfs wiki

2014-07-26 Thread Wang Shilong
Hi Hugo, Am Samstag, 26. Juli 2014, 11:05:03 schrieb Hugo Mills: I am not asking to hold my hand You are, though. Something like using grep to find code that (might be) related to the thing you're trying to work with is _fundamental_. You should expect to be reading the code --

[PATCH] Btrfs-progs: fix some build warnings on 32bit platform

2014-07-26 Thread Wang Shilong
Fix following build warnings on 32bit platform: ... utils.c:1708:3: warning: left shift count = width of type [enabled by default] if (x i (1UL 63)) ^ qgroup-verify.c:393:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (struct tree_block

Re: Help with Project on brtfs wiki

2014-07-26 Thread Nick Krause
On Sat, Jul 26, 2014 at 7:07 AM, Wang Shilong wangshilong1...@gmail.com wrote: Hi Hugo, Am Samstag, 26. Juli 2014, 11:05:03 schrieb Hugo Mills: I am not asking to hold my hand You are, though. Something like using grep to find code that (might be) related to the thing you're trying to

Re: Help with Project on brtfs wiki

2014-07-26 Thread Chris Murphy
On Jul 26, 2014, at 7:43 PM, Nick Krause xerofo...@gmail.com wrote: On Sat, Jul 26, 2014 at 7:07 AM, Wang Shilong wangshilong1...@gmail.com wrote: Hi Hugo, Am Samstag, 26. Juli 2014, 11:05:03 schrieb Hugo Mills: I am not asking to hold my hand You are, though. Something like using

Re: Help with Project on brtfs wiki

2014-07-26 Thread Nick Krause
On Sat, Jul 26, 2014 at 10:05 PM, Chris Murphy li...@colorremedies.com wrote: On Jul 26, 2014, at 7:43 PM, Nick Krause xerofo...@gmail.com wrote: On Sat, Jul 26, 2014 at 7:07 AM, Wang Shilong wangshilong1...@gmail.com wrote: Hi Hugo, Am Samstag, 26. Juli 2014, 11:05:03 schrieb Hugo

Re: Help with Project on brtfs wiki

2014-07-26 Thread Eric Sandeen
On 7/26/14, 8:43 PM, Nick Krause wrote: ... Fine then I guess I need to read the documentation and other things on my own. Seems everyone here wants me to figure out everything on my own. Hugo bent over backwards, twice, to give you very good advice. So did Steven Rostedt on LKML. You

Re: [PATCH RFC] btrfs: Use backup superblocks if and only if the first superblock is valid but corrupted.

2014-07-26 Thread Austin S Hemmelgarn
On 07/24/2014 05:28 PM, Chris Mason wrote: On 06/26/2014 11:53 PM, Qu Wenruo wrote: Current btrfs will only use the first superblock, making the backup superblocks only useful for 'btrfs rescue super' command. The old problem is that if we use backup superblocks when the first superblock