Re: [PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-25 Thread David Sterba
On Thu, Apr 25, 2019 at 10:22:30PM +0800, Qu Wenruo wrote: > > > On 2019/4/25 下午10:13, David Sterba wrote: > > On Thu, Apr 25, 2019 at 08:30:38AM +0800, Qu Wenruo wrote: > >> > >> > >> On 2019/4/25 上午1:45, David Sterba wrote: > >>> On Wed, Apr 24, 2019 at 03:22:53PM +0800, Qu Wenruo wrote: >

Re: [PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-25 Thread Qu Wenruo
On 2019/4/25 下午10:13, David Sterba wrote: > On Thu, Apr 25, 2019 at 08:30:38AM +0800, Qu Wenruo wrote: >> >> >> On 2019/4/25 上午1:45, David Sterba wrote: >>> On Wed, Apr 24, 2019 at 03:22:53PM +0800, Qu Wenruo wrote: Allowing error injection for btrfs_check_leaf_full() and btrfs_check_no

Re: [PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-25 Thread David Sterba
On Thu, Apr 25, 2019 at 08:30:38AM +0800, Qu Wenruo wrote: > > > On 2019/4/25 上午1:45, David Sterba wrote: > > On Wed, Apr 24, 2019 at 03:22:53PM +0800, Qu Wenruo wrote: > >> Allowing error injection for btrfs_check_leaf_full() and > >> btrfs_check_node() is useful to test the failure path of btrf

Re: [PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-24 Thread Qu Wenruo
On 2019/4/25 上午1:45, David Sterba wrote: > On Wed, Apr 24, 2019 at 03:22:53PM +0800, Qu Wenruo wrote: >> Allowing error injection for btrfs_check_leaf_full() and >> btrfs_check_node() is useful to test the failure path of btrfs write >> time tree check. >> >> Signed-off-by: Qu Wenruo > > Does n

Re: [PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-24 Thread David Sterba
On Wed, Apr 24, 2019 at 03:22:53PM +0800, Qu Wenruo wrote: > Allowing error injection for btrfs_check_leaf_full() and > btrfs_check_node() is useful to test the failure path of btrfs write > time tree check. > > Signed-off-by: Qu Wenruo Added to misc-next, thanks.

Re: [PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-24 Thread David Sterba
On Wed, Apr 24, 2019 at 03:22:53PM +0800, Qu Wenruo wrote: > Allowing error injection for btrfs_check_leaf_full() and > btrfs_check_node() is useful to test the failure path of btrfs write > time tree check. > > Signed-off-by: Qu Wenruo Does not compile: CC [M] fs/btrfs/tests/extent-map-test

[PATCH] btrfs: tree-checker: Allow error injection for tree-checker

2019-04-24 Thread Qu Wenruo
Allowing error injection for btrfs_check_leaf_full() and btrfs_check_node() is useful to test the failure path of btrfs write time tree check. Signed-off-by: Qu Wenruo --- fs/btrfs/tree-checker.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-check