Re: [PATCH] btrfs: Change RAID stripesize to a user-configurable option

2016-08-02 Thread Sanidhya Solanki
Any comments? On Thu, 28 Jul 2016 13:32:27 +0200 David Sterba wrote: > I'll comment on the overall approach and skip code-specific comments. > > The changelog does not explain why there's a need for a new blockgroup > type and what's the relation to the existing types. It seems that it > extend

Re: [PATCH] xfs: test attr_list_by_handle cursor iteration

2016-08-02 Thread Eryu Guan
On Tue, Aug 02, 2016 at 04:52:51PM -0700, Darrick J. Wong wrote: > Apparently the XFS attr_list_by_handle ioctl has never actually copied > the cursor contents back to user space, which means that iteration has > never worked. Add a test case for this and see the patch > "xfs: in _attrlist_by_hand

[PATCH] xfs: test attr_list_by_handle cursor iteration

2016-08-02 Thread Darrick J. Wong
Apparently the XFS attr_list_by_handle ioctl has never actually copied the cursor contents back to user space, which means that iteration has never worked. Add a test case for this and see the patch "xfs: in _attrlist_by_handle, copy the cursor back to userspace". Signed-off-by: Darrick J. Wong

Re: Fixup direct bi_rw modifiers

2016-08-02 Thread Jens Axboe
On 08/02/2016 05:32 AM, Christoph Hellwig wrote: On Mon, Aug 01, 2016 at 01:55:36PM -0600, Jens Axboe wrote: Set of three patches, where the target one is an actual bug fix... Temporary branch, I'll rebase it once -rc1 is out, if more changes/fixups need to be made in the next week until that h

Re: OOM killer invoked during btrfs send/recieve on otherwise idle machine

2016-08-02 Thread Chris Murphy
On Tue, Aug 2, 2016 at 9:38 AM, Chris Murphy wrote: > Yesterday I saw oom killer knocking off processes during a simple cp > -a from one Btrfs to another, in a VM, with kernel > 4.8.0-0.rc0.git3.1.fc25.x86_64. The call trace looks different than > Markus' so I'm not sure it's the same problem. It'

Re: OOM killer invoked during btrfs send/recieve on otherwise idle machine

2016-08-02 Thread Chris Murphy
Yesterday I saw oom killer knocking off processes during a simple cp -a from one Btrfs to another, in a VM, with kernel 4.8.0-0.rc0.git3.1.fc25.x86_64. The call trace looks different than Markus' so I'm not sure it's the same problem. It's not always reproducible. It hasn't happened on 4.7.0 though

Re: OOM killer invoked during btrfs send/recieve on otherwise idle machine

2016-08-02 Thread Michal Hocko
JFYI http://lkml.kernel.org/r/20160801192620.gd31...@dhcp22.suse.cz sounds quite similar to your report. order-2 OOMs with btrfs and many pagecache pages wrt. to the anon. I suspect that btrfs is preventing the compaction for some reason. On Sun 31-07-16 17:25:22, Markus Trippelsdorf wrote: > On 2

Re: Fixup direct bi_rw modifiers

2016-08-02 Thread Christoph Hellwig
On Mon, Aug 01, 2016 at 01:55:36PM -0600, Jens Axboe wrote: > > Set of three patches, where the target one is an actual bug fix... > Temporary branch, I'll rebase it once -rc1 is out, if more > changes/fixups need to be made in the next week until that happens. > > http://git.kernel.dk/cgit/linux

Re: [PATCH 06/17] xfs: run xfs_repair at the end of each test

2016-08-02 Thread Christoph Hellwig
> We do have specific tests that examine the outputs of rebuilding the > indices (all the fuzzer group tests do this too); this patch enables a > test runner to expand that coverage to all tests. Running a > rebuilding xfs_repair for all the tests shook out some bugs in the > xfs_repair rmap handl