From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com ([156.151.31.81]:18182 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755040Ab2LMBav (ORCPT ); Wed, 12 Dec 2012 20:30:51 -0500 Date: Thu, 13 Dec 2012 09:28:54 +0800 From: Liu Bo To: Mitch Harder Cc: Itaru Kitayama , linux-btrfs@vger.kernel.org Subject: Re: [PATCH 1/2 v4] Btrfs: snapshot-aware defrag Message-ID: <20121213012853.GA2757@liubo> Reply-To: bo.li.liu@oracle.com References: <1351333721-3220-1-git-send-email-bo.li.liu@oracle.com> <50911FC0.4080104@oracle.com> <20121101112114.GA4328@liubo.cn.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Wed, Dec 12, 2012 at 01:37:21PM -0600, Mitch Harder wrote: > On Thu, Nov 1, 2012 at 6:21 AM, Liu Bo wrote: > > On Thu, Nov 01, 2012 at 08:08:52PM +0900, Itaru Kitayama wrote: > >> Hi Liubo, > >> > >> I couldn't apply your V4 patch against the btrfs-next HEAD. Do you have > >> a github branch which I can checkout? > >> > > > > The current btrfs-next HEAD actually have included this v4 patch, so > > just pull btrfs-next and give it a shot :) > > > > I'm still seeing similar issues using Josef's current btrfs-next > branch (which still includes the v4 version of the snapshot-aware > defrag patches). Well, it seems that there is something wrong about delalloc reservation. thanks, liubo > > [44507.850693] ------------[ cut here ]------------ > [44507.850728] WARNING: at fs/btrfs/inode.c:7755 > btrfs_destroy_inode+0x231/0x2c4 [btrfs]() > [44507.850732] Hardware name: OptiPlex 745 > [44507.850735] Modules linked in: iTCO_wdt iTCO_vendor_support lpc_ich > mfd_core lrw xts gf128mul ablk_helper cryptd aes_x86_64 sha256_generic > btrfs libcrc32c > [44507.850753] Pid: 15719, comm: umount Tainted: G W > 3.7.0-btrfs-next+ #1 > [44507.850756] Call Trace: > [44507.850766] [] warn_slowpath_common+0x74/0xa2 > [44507.850770] [] warn_slowpath_null+0x1a/0x1c > [44507.850787] [] btrfs_destroy_inode+0x231/0x2c4 [btrfs] > [44507.850793] [] destroy_inode+0x3c/0x5f > [44507.850797] [] evict+0x122/0x1ac > [44507.850800] [] iput+0xed/0x169 > [44507.850816] [] btrfs_run_delayed_iputs+0xd6/0xf6 [btrfs] > [44507.850831] [] btrfs_commit_super+0x2c/0xfd [btrfs] > [44507.850845] [] close_ctree+0x2c1/0x300 [btrfs] > [44507.850850] [] ? evict_inodes+0x106/0x115 > [44507.850861] [] btrfs_put_super+0x19/0x1b [btrfs] > [44507.850866] [] generic_shutdown_super+0x5b/0xdc > [44507.850869] [] kill_anon_super+0x16/0x24 > [44507.850880] [] btrfs_kill_super+0x1a/0x8f [btrfs] > [44507.850884] [] deactivate_locked_super+0x33/0x6c > [44507.850887] [] deactivate_super+0x4e/0x66 > [44507.850892] [] mntput_no_expire+0xf7/0x14d > [44507.850896] [] sys_umount+0x63/0x37a > [44507.850901] [] system_call_fastpath+0x16/0x1b > [44507.850905] ---[ end trace ba14fbf3de68a237 ]--- > [44507.850907] ------------[ cut here ]------------ > [44507.850924] WARNING: at fs/btrfs/inode.c:7756 > btrfs_destroy_inode+0x2b9/0x2c4 [btrfs]() > [44507.850927] Hardware name: OptiPlex 745 > [44507.850930] Modules linked in: iTCO_wdt iTCO_vendor_support lpc_ich > mfd_core lrw xts gf128mul ablk_helper cryptd aes_x86_64 sha256_generic > btrfs libcrc32c > [44507.850947] Pid: 15719, comm: umount Tainted: G W > 3.7.0-btrfs-next+ #1 > [44507.850949] Call Trace: > [44507.850956] [] warn_slowpath_common+0x74/0xa2 > [44507.850961] [] warn_slowpath_null+0x1a/0x1c > [44507.850978] [] btrfs_destroy_inode+0x2b9/0x2c4 [btrfs] > [44507.850982] [] destroy_inode+0x3c/0x5f > [44507.850986] [] evict+0x122/0x1ac > [44507.850990] [] iput+0xed/0x169 > [44507.851003] [] btrfs_run_delayed_iputs+0xd6/0xf6 [btrfs] > [44507.851033] [] btrfs_commit_super+0x2c/0xfd [btrfs] > [44507.851048] [] close_ctree+0x2c1/0x300 [btrfs] > [44507.851052] [] ? evict_inodes+0x106/0x115 > [44507.851063] [] btrfs_put_super+0x19/0x1b [btrfs] > [44507.851066] [] generic_shutdown_super+0x5b/0xdc > [44507.851070] [] kill_anon_super+0x16/0x24 > [44507.851080] [] btrfs_kill_super+0x1a/0x8f [btrfs] > [44507.851084] [] deactivate_locked_super+0x33/0x6c > [44507.851087] [] deactivate_super+0x4e/0x66 > [44507.851091] [] mntput_no_expire+0xf7/0x14d > [44507.851095] [] sys_umount+0x63/0x37a > [44507.851099] [] system_call_fastpath+0x16/0x1b > [44507.851101] ---[ end trace ba14fbf3de68a238 ]--- > [44507.851104] ------------[ cut here ]------------ > [44507.851121] WARNING: at fs/btrfs/inode.c:7758 > btrfs_destroy_inode+0x28d/0x2c4 [btrfs]() > [44507.851123] Hardware name: OptiPlex 745 > [44507.851124] Modules linked in: iTCO_wdt iTCO_vendor_support lpc_ich > mfd_core lrw xts gf128mul ablk_helper cryptd aes_x86_64 sha256_generic > btrfs libcrc32c > [44507.851140] Pid: 15719, comm: umount Tainted: G W > 3.7.0-btrfs-next+ #1 > [44507.851142] Call Trace: > [44507.851148] [] warn_slowpath_common+0x74/0xa2 > [44507.851152] [] warn_slowpath_null+0x1a/0x1c > [44507.851168] [] btrfs_destroy_inode+0x28d/0x2c4 [btrfs] > [44507.851172] [] destroy_inode+0x3c/0x5f > [44507.851176] [] evict+0x122/0x1ac > [44507.851180] [] iput+0xed/0x169 > [44507.851195] [] btrfs_run_delayed_iputs+0xd6/0xf6 [btrfs] > [44507.851209] [] btrfs_commit_super+0x2c/0xfd [btrfs] > [44507.851223] [] close_ctree+0x2c1/0x300 [btrfs] > [44507.851227] [] ? evict_inodes+0x106/0x115 > [44507.851237] [] btrfs_put_super+0x19/0x1b [btrfs] > [44507.851241] [] generic_shutdown_super+0x5b/0xdc > [44507.851245] [] kill_anon_super+0x16/0x24 > [44507.851255] [] btrfs_kill_super+0x1a/0x8f [btrfs] > [44507.851259] [] deactivate_locked_super+0x33/0x6c > [44507.851263] [] deactivate_super+0x4e/0x66 > [44507.851266] [] mntput_no_expire+0xf7/0x14d > [44507.851270] [] sys_umount+0x63/0x37a > [44507.851274] [] system_call_fastpath+0x16/0x1b > [44507.851277] ---[ end trace ba14fbf3de68a239 ]--- > [44507.969039] ------------[ cut here ]------------ > [44507.969069] WARNING: at fs/btrfs/extent-tree.c:4351 > btrfs_free_block_groups+0x2ad/0x34c [btrfs]() > [44507.969074] Hardware name: OptiPlex 745 > [44507.969078] Modules linked in: iTCO_wdt iTCO_vendor_support lpc_ich > mfd_core lrw xts gf128mul ablk_helper cryptd aes_x86_64 sha256_generic > btrfs libcrc32c > [44507.969104] Pid: 15719, comm: umount Tainted: G W > 3.7.0-btrfs-next+ #1 > [44507.969107] Call Trace: > [44507.969119] [] warn_slowpath_common+0x74/0xa2 > [44507.969125] [] warn_slowpath_null+0x1a/0x1c > [44507.969144] [] btrfs_free_block_groups+0x2ad/0x34c [btrfs] > [44507.969166] [] close_ctree+0x1c0/0x300 [btrfs] > [44507.969173] [] ? evict_inodes+0x106/0x115 > [44507.969189] [] btrfs_put_super+0x19/0x1b [btrfs] > [44507.969195] [] generic_shutdown_super+0x5b/0xdc > [44507.969201] [] kill_anon_super+0x16/0x24 > [44507.969215] [] btrfs_kill_super+0x1a/0x8f [btrfs] > [44507.969221] [] deactivate_locked_super+0x33/0x6c > [44507.969226] [] deactivate_super+0x4e/0x66 > [44507.969232] [] mntput_no_expire+0xf7/0x14d > [44507.969237] [] sys_umount+0x63/0x37a > [44507.969245] [] system_call_fastpath+0x16/0x1b > [44507.969249] ---[ end trace ba14fbf3de68a23a ]--- > [44507.969252] ------------[ cut here ]------------ > [44507.969271] WARNING: at fs/btrfs/extent-tree.c:4352 > btrfs_free_block_groups+0x347/0x34c [btrfs]() > [44507.969275] Hardware name: OptiPlex 745 > [44507.969279] Modules linked in: iTCO_wdt iTCO_vendor_support lpc_ich > mfd_core lrw xts gf128mul ablk_helper cryptd aes_x86_64 sha256_generic > btrfs libcrc32c > [44507.969302] Pid: 15719, comm: umount Tainted: G W > 3.7.0-btrfs-next+ #1 > [44507.969306] Call Trace: > [44507.969315] [] warn_slowpath_common+0x74/0xa2 > [44507.969322] [] warn_slowpath_null+0x1a/0x1c > [44507.969342] [] btrfs_free_block_groups+0x347/0x34c [btrfs] > [44507.969362] [] close_ctree+0x1c0/0x300 [btrfs] > [44507.969368] [] ? evict_inodes+0x106/0x115 > [44507.969383] [] btrfs_put_super+0x19/0x1b [btrfs] > [44507.969389] [] generic_shutdown_super+0x5b/0xdc > [44507.969394] [] kill_anon_super+0x16/0x24 > [44507.969408] [] btrfs_kill_super+0x1a/0x8f [btrfs] > [44507.969414] [] deactivate_locked_super+0x33/0x6c > [44507.969419] [] deactivate_super+0x4e/0x66 > [44507.969424] [] mntput_no_expire+0xf7/0x14d > [44507.969429] [] sys_umount+0x63/0x37a > [44507.969434] [] system_call_fastpath+0x16/0x1b > [44507.969439] ---[ end trace ba14fbf3de68a23b ]---