Re: [PATCH 2/3] Btrfs: rework qgroup accounting

2013-12-21 Thread Wang Shilong
Hello Josef, Though i know there are still problems related to qgroup(for example removing snapshot will beak qgroup accounting).I did a simple test about your patch.. # btrfs quota enable /mnt # dd if=/dev/zero of=/mnt/data bs=4k count=102400 oflag=direct # btrfs sub snapshot /mnt/ /mnt/snap1

Re: [PATCH 2/3] Btrfs: rework qgroup accounting

2013-12-21 Thread Josef Bacik
On 12/21/2013 03:01 AM, Wang Shilong wrote: Hi Josef, I compie btrfs-next in my 32-bit machine, i get the following warnings: fs/btrfs/qgroup.c: In function ‘qgroup_excl_accounting’: fs/btrfs/qgroup.c:1503:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Re: [PATCH 2/3] Btrfs: rework qgroup accounting

2013-12-21 Thread Josef Bacik
On 12/21/2013 03:56 AM, Wang Shilong wrote: Hello Josef, Though i know there are still problems related to qgroup(for example removing snapshot will beak qgroup accounting).I did a simple test about your patch.. # btrfs quota enable /mnt # dd if=/dev/zero of=/mnt/data bs=4k count=102400

Re: [PATCH 21/21] hfsplus: remove can_set_xattr

2013-12-21 Thread Vyacheslav Dubeyko
On Dec 20, 2013, at 4:16 PM, Christoph Hellwig wrote: When using the per-superblock xattr handlers permission checking is done by the generic code. hfsplus just needs to check for the magic osx attribute not to leak into protected namespaces. Also given that the code was obviously copied

Re: Unmountable Array After Drive Failure During Device Deletion

2013-12-21 Thread Chris Kastorff
- Array is good. All drives are accounted for, btrfs scrub runs cleanly. btrfs fi show shows no missing drives and reasonable allocations. - I start btrfs dev del to remove devid 9. It chugs along with no errors, until: - Another drive in the array (NOT THE ONE I RAN DEV DEL ON) fails, and

Re: Unmountable Array After Drive Failure During Device Deletion

2013-12-21 Thread Chris Murphy
On Dec 21, 2013, at 4:16 PM, Chris Kastorff encryp...@gmail.com wrote: 1. btrfs-image -c 9 -t #cores (see man page) This is optional but one of the devs might want to see this because it should be a more rare case that either normal mount fix ups or additional recovery fix ups can't deal

Re: Btrfs RAID1 File System Grew Something Extra

2013-12-21 Thread Kai Krakow
Duncan 1i5t5.dun...@cox.net schrieb: But the above documentation should also suggest trying this to see if it addresses that remaining single-mode system chunk stub: btrfs balance start -fsconvert=raid1 /home Cool man, that fixed it for me. :-) Regards, Kai -- To unsubscribe from this

Re: Unmountable Array After Drive Failure During Device Deletion

2013-12-21 Thread ronnie sahlberg
Similar things happened to me. (See my unanswered posts ~1Sep, this fs is not really ready for production I think) When you get wrong transid errors and reports that you have checksums being repaired, that is all bad news and no one can help you. Unfortunately there are, I think, no real tools