From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Trofimovich Subject: Re: autodegrag: WARNING: at fs/inode.c:1315 iput+0x20b/0x210() Date: Sat, 27 Aug 2011 17:15:46 +0300 Message-ID: <20110827171546.43929e96@sf.home> References: <20110826231844.04016b8f@sf.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/A=zq2bo3Eey=egur4m7bYnL"; protocol="application/pgp-signature" To: linux-btrfs@vger.kernel.org Return-path: In-Reply-To: <20110826231844.04016b8f@sf.home> List-ID: --Sig_/A=zq2bo3Eey=egur4m7bYnL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 26 Aug 2011 23:18:44 +0300 Sergei Trofimovich wrote: > I used 3.1.0-rc2+ kernel for some weeks before without any dmesg warnings. > I've decided to enable autodegrag feature for my btrfs / today and got > warning in $SUBJ. >=20 > It's an: > > static void iput_final(struct inode *inode) > > ... > > WARN_ON(inode->i_state & I_NEW); >=20 If you prefer nontainted kernel report (without unrelated warnings): [ 282.380849] ------------[ cut here ]------------ [ 282.380865] WARNING: at fs/inode.c:1315 iput+0x20b/0x210() [ 282.380869] Hardware name: HP Compaq 2510p Notebook PC [ 282.380873] Modules linked in: ext2 loop kvm_intel kvm fuse scsi_wait_sc= an usb_storage tun i915 drm_kms_helper drm yenta_socket sdhci_pci sdhci snd= _hda_codec_analog iwl4965 mmc_core i2c_algo_bit pcmcia_core thermal contain= er ac button fan battery e1000e iwl_legacy mac80211 snd_hda_intel cfg80211 = snd_hda_codec pcmcia_rsrc processor rfkill snd_hwdep [ 282.380932] Pid: 715, comm: btrfs-cleaner Not tainted 3.1.0-rc3-00203-gd= bf2e46 #139 [ 282.380936] Call Trace: [ 282.380947] [] warn_slowpath_common+0x7a/0xb0 [ 282.380954] [] warn_slowpath_null+0x15/0x20 [ 282.380960] [] iput+0x20b/0x210 [ 282.380967] [] btrfs_iget+0x1eb/0x4a0 [ 282.380975] [] btrfs_run_defrag_inodes+0x136/0x210 [ 282.380982] [] cleaner_kthread+0x17f/0x1a0 [ 282.380988] [] ? sub_preempt_count+0x9d/0xd0 [ 282.380994] [] ? transaction_kthread+0x280/0x280 [ 282.381001] [] kthread+0x96/0xa0 [ 282.381027] [] kernel_thread_helper+0x4/0x10 [ 282.381034] [] ? kthread_worker_fn+0x190/0x190 [ 282.381039] [] ? gs_change+0xb/0xb [ 282.381044] ---[ end trace 40720e359a3c0fea ]--- --=20 Sergei --Sig_/A=zq2bo3Eey=egur4m7bYnL Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk5Y/BIACgkQcaHudmEf86ooXACfYYjaBl7Bt1cehfR6FMWDXK26 zUkAn3fgqFJa//No9admTd0lpf7/Z+ey =m0L7 -----END PGP SIGNATURE----- --Sig_/A=zq2bo3Eey=egur4m7bYnL--