Re: Is it safe or useful to use NOCOW flag and autodefrag mount option at same time?

2015-03-15 Thread Wang Shilong
Hello, Hi, first of all a great thank you to all developers and contributors. The Btrfs filesystem ist a great filesystem! Following common recommendations [1], I use these mount options on my main developing machine: noatime,autodefrag. This is desktop machine and it works well so far.

Re: [PATCH 3/3] btrfs: qgroup: fix a wrong parameter of no_quota.

2015-03-15 Thread Dongsheng Yang
On 03/04/2015 04:20 AM, Mark Fasheh wrote: On Tue, Mar 03, 2015 at 09:00:36AM -0500, Josef Bacik wrote: On 03/03/2015 06:18 AM, Dongsheng Yang wrote: On 02/26/2015 02:05 PM, Dongsheng Yang wrote: Wait a minute, this patch seems not working well in accounting quota number when deleting data

Re: [PATCH] fstest: btrfs: add a test for quota number when deleting a subvol.

2015-03-15 Thread Dongsheng Yang
Hi Guan, sorry for the late. On 03/06/2015 01:06 PM, Eryu Guan wrote: On Tue, Mar 03, 2015 at 07:13:30PM +0800, Dongsheng Yang wrote: This regression is introduced by two commits: e339a6b0 (Btrfs: __btrfs_mod_ref should always use no_quota) 1152651a (btrfs: qgroup: account shared subtrees

Re: [PATCH v2] fstest: btrfs/083: Test for incorrect exclusive refernce number after file clone.

2015-03-15 Thread Qu Wenruo
Original Message Subject: Re: [PATCH v2] fstest: btrfs/083: Test for incorrect exclusive refernce number after file clone. From: Filipe David Manana fdman...@gmail.com To: Qu Wenruo quwen...@cn.fujitsu.com Date: 2015年03月13日 21:00 On Fri, Mar 13, 2015 at 1:45 AM, Qu Wenruo

[PATCH v2] btrfs: qgroup: Cleanup open-coded old/new_refcnt update and read.

2015-03-15 Thread Qu Wenruo
Use inline functions to do such things, to improve readability. Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com Acked-by: David Sterba dste...@suse.cz --- v2: Change nameing to btrfs_qgroup_(update|get)_(old|new)_refcnt. Not use centeral qgroup_(get|update)_refcnt function, direct code into

Re: [PATCH] fstest: btrfs: add a test for quota number when deleting a subvol.

2015-03-15 Thread Eryu Guan
On Mon, Mar 16, 2015 at 01:06:52PM +0800, Dongsheng Yang wrote: Hi Guan, sorry for the late. On 03/06/2015 01:06 PM, Eryu Guan wrote: On Tue, Mar 03, 2015 at 07:13:30PM +0800, Dongsheng Yang wrote: This regression is introduced by two commits: e339a6b0 (Btrfs: __btrfs_mod_ref should

Re: [PATCH] fstest: btrfs: add a test for quota number when deleting a subvol.

2015-03-15 Thread Dongsheng Yang
On 03/16/2015 01:33 PM, Eryu Guan wrote: On Mon, Mar 16, 2015 at 01:06:52PM +0800, Dongsheng Yang wrote: Hi Guan, sorry for the late. On 03/06/2015 01:06 PM, Eryu Guan wrote: On Tue, Mar 03, 2015 at 07:13:30PM +0800, Dongsheng Yang wrote: This regression is introduced by two commits: