Re: [btrfs_mount] general protection fault: 0000 [#1] SMP

2017-11-29 Thread Fengguang Wu
On Wed, Nov 29, 2017 at 06:44:43PM -0800, Linus Torvalds wrote: On Wed, Nov 29, 2017 at 6:38 PM, Nick Terrell wrote: The stack trace looks like the bug fixed by Qu Wenruo: btrfs: Fix wild memory access in compression level parser [1] That fix looks to be included in the

Re: [kbuild-all] [PATCH 11/12] btrfs: introduce helper functions to perform hot replace

2016-03-30 Thread Fengguang Wu
On Wed, Mar 30, 2016 at 06:13:43PM +0800, Anand Jain wrote: > > > Hi, > > You are missing the patch set which includes >https://patchwork.kernel.org/patch/8659651/ > > btrfs: refactor btrfs_dev_replace_start for reuse Sorry that comes in another patchset and the robot currently is not

__might_sleep() warnings on v3.19-rc6

2015-01-31 Thread Fengguang Wu
Hi all, I see 2 __might_sleep() warnings on when running LKP tests on v3.19-rc6, one related to raid5 and another related to btrfs. They might be exposed by this patch. commit 8eb23b9f35aae413140d3fda766a98092c21e9b0 Author: Peter Zijlstra pet...@infradead.org sched: Debug nested

[btrfs] 8d875f95: xfstests.generic.226.fail

2014-08-19 Thread Fengguang Wu
Hi Chris, We noticed an xfstests failure on commit 8d875f95da43c6a8f18f77869f2ef26e9594fecc (btrfs: disable strict file flushes for renames and truncates) It's 100% reproducible in the 5 test runs. test case: snb-drag/xfstests/4HDD-btrfs-generic-mid 27b9a8122ff71a8 8d875f95da43c6a8f18f77869

[btrfs] 4c468fd7485: +7.8% blogbench.write_score, -5.1% turbostat.Pkg_W

2014-08-16 Thread Fengguang Wu
Hi Chris, FYI, we noticed increased performance and reduced power consumption on commit 4c468fd74859d901c0b78b42bef189295e00d74f (btrfs: disable strict file flushes for renames and truncates) test case: lkp-sb02/blogbench/1HDD-btrfs 0954d74f8f37a47 4c468fd74859d901c0b78b42b ---

Re: [btrfs] 4c468fd7485: +7.8% blogbench.write_score, -5.1% turbostat.Pkg_W

2014-08-16 Thread Fengguang Wu
-btrfs.yaml $ bin/run-local ./blogbench-1HDD-btrfs.yaml The report is generated by the sbin/compare script. Thanks, Fengguang On Sat, Aug 16, 2014 at 1:22 PM, Fengguang Wu fengguang...@intel.com wrote: Hi Chris, FYI, we noticed increased performance and reduced power consumption

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-10 Thread Fengguang Wu
Hi Filipe, If you disable CONFIG_BTRFS_FS_RUN_SANITY_TESTS, does it still crash? I tried disabling CONFIG_BTRFS_FS_RUN_SANITY_TESTS in the reported 3 randconfigs and they all boot fine. Thanks, Fengguang -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-10 Thread Fengguang Wu
On Sat, Feb 08, 2014 at 03:10:37PM -0500, Tejun Heo wrote: Hello, David, Fengguang, Chris. On Fri, Feb 07, 2014 at 01:13:06PM -0800, David Rientjes wrote: On Fri, 7 Feb 2014, Fengguang Wu wrote: On Fri, Feb 07, 2014 at 02:13:59AM -0800, David Rientjes wrote: On Fri, 7 Feb 2014

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-08 Thread Fengguang Wu
If you disable CONFIG_BTRFS_FS_RUN_SANITY_TESTS, does it still crash? Good idea! I've queued test jobs for that config. However sorry that I'll be offline for the next 2 days. So please expect some delays. Thanks, Fengguang -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-07 Thread Fengguang Wu
On Fri, Feb 07, 2014 at 02:13:59AM -0800, David Rientjes wrote: On Fri, 7 Feb 2014, Fengguang Wu wrote: [1.625020] BTRFS: selftest: Running btrfs_split_item tests [1.627004] BTRFS: selftest: Running find delalloc tests [2.289182] tsc: Refined TSC clocksource calibration

[btrfs/i_size] xfstests generic/299 TFAIL

2014-01-29 Thread Fengguang Wu
Hi Steven, We noticed xfstests generic/299 TFAIL on btrfs since commit 9fe55eea7e4b444bafc42facc2d1d2847275 Author: Steven Whitehouse swhit...@redhat.com AuthorDate: Fri Jan 24 14:42:22 2014 + Commit: Al Viro v...@zeniv.linux.org.uk CommitDate: Sun Jan 26 08:26:42 2014 -0500

Re: [block:for-3.14/core] kernel BUG at fs/bio.c:1748

2014-01-06 Thread Fengguang Wu
On Mon, Jan 06, 2014 at 04:47:38PM -0800, Muthu Kumar wrote: OK, after a bit more staring I believe the correct fix is the following. Fengguang, Please try this one? Yes, it runs fine now! Tested-by: Fengguang Wu fengguang...@intel.com Thanks, Fengguang In btrfs_end_bio

1be41b78: +18% increased btrfs write throughput

2014-01-03 Thread fengguang . wu
Hi Josef, FYI. We are doing 0day performance tests and happen to notice that btrfs write throughput increased considerably during v3.10-11 time frame: v3.10 v3.11 v3.12 v3.13-rc6 --- -

Re: fs/btrfs/extent-tree.c:8430:9: error: format not a string literal and no format arguments

2013-11-20 Thread Fengguang Wu
On Wed, Nov 20, 2013 at 08:04:58AM -0800, Kees Cook wrote: On Tue, Nov 19, 2013 at 8:05 PM, Fengguang Wu fengguang...@intel.com wrote: On Tue, Nov 19, 2013 at 07:56:35PM -0800, Kees Cook wrote: Hi! Which tree is 'devel-snb'? I don't see that on the kernel.org trees. It's my local

Re: fs/btrfs/extent-tree.c:8430:9: error: format not a string literal and no format arguments

2013-11-19 Thread Fengguang Wu
On Tue, Nov 19, 2013 at 07:56:35PM -0800, Kees Cook wrote: Hi! Which tree is 'devel-snb'? I don't see that on the kernel.org trees. It's my local merge branch, based on the latest upstream release. Let's CC the btrfs developers for this warning. :) Thanks, Fengguang On Tue, Nov 19, 2013

Re: [PATCH V2] vfs: re-implement writeback_inodes_sb(_nr)_if_idle() and rename them

2013-01-11 Thread Fengguang Wu
On Fri, Jan 11, 2013 at 09:12:11PM +0100, Jan Kara wrote: On Thu 10-01-13 13:47:57, Miao Xie wrote: writeback_inodes_sb(_nr)_if_idle() is re-implemented by replacing down_read() with down_read_trylock() because - If -s_umount is write locked, then the sb is not idle. That is

Re: fs/btrfs/dev-replace.c:486:17: sparse: incompatible types in comparison expression (different address spaces)

2012-11-08 Thread Fengguang Wu
Hi Fengguang, Hi Stefan! Assuming that your script performs a periodic git fetch and git reset, and then starts compile runs on different architectures, the only explanation that I have is that something went wrong with the git operation in your script. It looks like some C source files

fs/btrfs/dev-replace.c:486:17: sparse: incompatible types in comparison expression (different address spaces)

2012-11-07 Thread Fengguang Wu
backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [ablock84-btrfs:btrfs-far 20/20] fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types)

2012-11-06 Thread Fengguang Wu
On Tue, Nov 06, 2012 at 09:57:47PM +0100, Alexander Block wrote: On Tue, Nov 6, 2012 at 9:51 PM, kbuild test robot fengguang...@intel.com wrote: tree: git://github.com/ablock84/linux-btrfs.git btrfs-far head: f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d commit:

Re: [PATCH v2] Change the check for PageReadahead into an else-if

2012-10-24 Thread Fengguang Wu
is not required. Version 2: Fixed the incorrect indentation. Signed-off-by: Raghavendra D Prabhu rpra...@wnohang.net --- fs/btrfs/relocation.c | 4 +--- mm/filemap.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) Reviewed-by: Fengguang Wu fengguang...@intel.com Thanks

Re: [PATCH] Change the check for PageReadahead into an else-if

2012-10-16 Thread Fengguang Wu
)) { + page_cache_async_readahead(inode-i_mapping, + ra, NULL, page, index, + last_index + 1 - index); That extra indent is not necessary. Otherwise looks good to me. Thanks! Reviewed-by: Fengguang

[josef-btrfs:master 81/82] fs/btrfs/disk-io.c:34:28: fatal error: asm/cpufeature.h: No such file or directory

2012-09-29 Thread Fengguang Wu
Centre Fengguang Wu, Yuanhan Liu Intel Corporation -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

fs/btrfs/disk-io.c:34:28: fatal error: asm/cpufeature.h: No such file or directory

2012-09-24 Thread Fengguang Wu
#include asm/cpufeature.h 35 #include compat.h 36 #include ctree.h 37 #include disk-io.h --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu, Yuanhan Liu Intel Corporation -- To unsubscribe from this list: send the line

[josef-btrfs:master 62/66] fs/btrfs/backref.c:1637:2: error: implicit declaration of function 'vfree'

2012-09-15 Thread Fengguang Wu
inode_fs_paths *ipath) 1634 { 1635 if (!ipath) 1636 return; 1637 vfree(ipath-fspath); 1638 kfree(ipath); 1639 } --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu, Yuanhan Liu Intel

[PATCH] btrfs: fix second lock in btrfs_delete_delayed_items()

2012-08-04 Thread Fengguang Wu
Fix a real bug caught by coccinelle. fs/btrfs/delayed-inode.c:1013:1-11: second lock on line 1013 Signed-off-by: Fengguang Wu fengguang...@intel.com --- fs/btrfs/delayed-inode.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- linux.orig/fs/btrfs/delayed-inode.c 2012-08-03 15

[PATCH] btrfs: Use PTR_RET in btrfs_resume_balance_async()

2012-08-04 Thread Fengguang Wu
No behavior change, code generated by: scripts/coccicheck/api/ptr_ret.cocci Signed-off-by: Fengguang Wu fengguang...@intel.com --- fs/btrfs/volumes.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- linux.orig/fs/btrfs/volumes.c 2012-08-04 15:33:02.038203882 +0800

[josef-btrfs:master 9/11] fs/btrfs/transaction.c:1118:6: warning: 'parent' may be used uninitialized in this function

2012-08-01 Thread Fengguang Wu
(new_root_item); --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu w...@linux.intel.com Intel Corporation # # Automatically generated file; DO NOT EDIT. # Linux/x86_64 3.5.0 Kernel Configuration # CONFIG_64BIT=y # CONFIG_X86_32 is not set