Re: [PATCH 1/2] btrfs: add quota override attribute

2017-04-23 Thread Qu Wenruo
At 04/24/2017 12:48 PM, Sargun Dhillon wrote: On Sun, Apr 23, 2017 at 8:42 PM, Qu Wenruo wrote: At 04/22/2017 07:12 AM, Sargun Dhillon wrote: This patch introduces the quota override flag to btrfs_fs_info, and a change to quota limit checking code to temporarily allow for quota to be over

Re: [PATCH 1/2] btrfs: add quota override attribute

2017-04-23 Thread Sargun Dhillon
On Sun, Apr 23, 2017 at 8:42 PM, Qu Wenruo wrote: > > > At 04/22/2017 07:12 AM, Sargun Dhillon wrote: >> >> This patch introduces the quota override flag to btrfs_fs_info, and >> a change to quota limit checking code to temporarily allow for quota >> to be overridden for processes with cap_sys_res

Re: [PATCH 1/2] btrfs: add quota override attribute

2017-04-23 Thread Qu Wenruo
At 04/22/2017 07:12 AM, Sargun Dhillon wrote: This patch introduces the quota override flag to btrfs_fs_info, and a change to quota limit checking code to temporarily allow for quota to be overridden for processes with cap_sys_resource. It's useful for administrative programs, such as log rota

[PATCH] btrfs-progs: tests: add variable quotation to convert-tests

2017-04-23 Thread Lakshmipathi.G
Signed-off-by: Lakshmipathi.G --- tests/convert-tests.sh | 2 +- tests/convert-tests/001-ext2-basic/test.sh | 4 ++-- tests/convert-tests/002-ext3-basic/test.sh | 4 ++-- tests/convert-tests/003-ext4-basic/test.sh | 4 ++-- .../004-ext2-back

Re: Experiences with metadata balance/convert

2017-04-23 Thread Hans van Kranenburg
On 22/04/2017 22:21, Hans van Kranenburg wrote: On 04/22/2017 06:45 PM, Chris Murphy wrote: On Fri, Apr 21, 2017 at 4:26 AM, Hans van Kranenburg wrote: == Thinking out of the box == Technically, converting from DUP to single could also mean: * Flipping one bit in the block group type flags

Re: [PATCH 9/9] btrfs-progs: modify: Introduce option to specify the pattern to fill mirror

2017-04-23 Thread Lakshmipathi.G
Thanks for the example and details. I understood some and need to re-read couple of more times to understand the remaining. btw, I created a corruption framework(with previous org), the sample usage and example is below. It looks similar to Btrfs corruption tool. thanks. -- corrupt.py --help Usag