diff for duplicates of <1302242000.2014.14.camel@cephhost> diff --git a/a/1.txt b/N1/1.txt index 18eb0bc..27fe969 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,14 +1,14 @@ Hi , I applied the patch to 2.6.39-rc1,took the following steps to compile -it:make && make modules_install && make install && mkinitramfs -but , it seam that it don't run to "WARN_ON(block_rsv == +it:make && make modules_install && make install && mkinitramfs=20 +but , it seam that it don't run to "WARN_ON(block_rsv =3D=3D root->orphan_block_rsv);" i attached the codes and logs at the below: -............................................ +=2E........................................... int btrfs_block_rsv_add(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_block_rsv *block_rsv, @@ -16,11 +16,12 @@ int btrfs_block_rsv_add(struct btrfs_trans_handle *trans, { int ret; - WARN_ON(block_rsv == root->orphan_block_rsv); - if (num_bytes == 0) + WARN_ON(block_rsv =3D=3D root->orphan_block_rsv); + if (num_bytes =3D=3D 0) return 0; - ret = reserve_metadata_bytes(trans, root, block_rsv, num_bytes, + ret =3D reserve_metadata_bytes(trans, root, block_rsv, num_byte= +s, 1); if (!ret) { block_rsv_add_bytes(block_rsv, num_bytes, 1); @@ -29,14 +30,14 @@ int btrfs_block_rsv_add(struct btrfs_trans_handle *trans, return ret; } -.................................................. +=2E................................................. 1.log1 -...................................................... +=2E..................................................... [ 147.740003] CE: hpet5 increased min_delta_ns to 7500 nsec [ 147.740012] CE: hpet5 increased min_delta_ns to 11250 nsec [ 148.520005] CE: hpet4 increased min_delta_ns to 7500 nsec @@ -44,14 +45,16 @@ int btrfs_block_rsv_add(struct btrfs_trans_handle *trans, [ 2561.740727] ------------[ cut here ]------------ [ 2561.740746] WARNING: at fs/btrfs/inode.c:2177 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]() -[ 2561.740748] Hardware name: OptiPlex 780 +[ 2561.740748] Hardware name: OptiPlex 780 =20 [ 2561.740750] Modules linked in: i915 btrfs fbcon tileblit font -snd_hda_codec_analog bitblit softcursor drm_kms_helper drm snd_hda_intel +snd_hda_codec_analog bitblit softcursor drm_kms_helper drm snd_hda_inte= +l snd_hda_codec snd_hwdep snd_pcm zlib_deflate crc32c snd_timer libcrc32c snd psmouse i2c_algo_bit ppdev intel_agp parport_pc soundcore lp intel_gtt snd_page_alloc video dell_wmi parport serio_raw sparse_keymap r8169 mii ata_piix -[ 2561.740781] Pid: 570, comm: btrfs-transacti Not tainted 2.6.39-rc1 #2 +[ 2561.740781] Pid: 570, comm: btrfs-transacti Not tainted 2.6.39-rc1 #= +2 [ 2561.740783] Call Trace: [ 2561.740789] [<ffffffff8105fe9f>] warn_slowpath_common+0x7f/0xc0 [ 2561.740793] [<ffffffff8105fefa>] warn_slowpath_null+0x1a/0x20 @@ -73,28 +76,31 @@ r8169 mii ata_piix [ 2561.740865] [<ffffffff810831c0>] ? __init_kthread_worker+0x70/0x70 [ 2561.740868] [<ffffffff815b5ea0>] ? gs_change+0x13/0x13 [ 2561.740870] ---[ end trace c68c126da4200e73 ]--- -[ 2655.461017] -[ 2655.461019] ============================================= +[ 2655.461017]=20 +[ 2655.461019] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= +=3D=3D [ 2655.467908] [ INFO: possible recursive locking detected ] [ 2655.470882] 2.6.39-rc1 #2 [ 2655.470882] --------------------------------------------- [ 2655.470882] cosd/2420 is trying to acquire lock: [ 2655.470882] (&(&eb->lock)->rlock){+.+...}, at: [<ffffffffa020d5f9>] btrfs_try_spin_lock+0x59/0x100 [btrfs] -[ 2655.470882] +[ 2655.470882]=20 [ 2655.470882] but task is already holding lock: [ 2655.470882] (&(&eb->lock)->rlock){+.+...}, at: [<ffffffffa020d6c2>] btrfs_clear_lock_blocking+0x22/0x30 [btrfs] -[ 2655.470882] +[ 2655.470882]=20 [ 2655.470882] other info that might help us debug this: [ 2655.470882] 2 locks held by cosd/2420: [ 2655.470882] #0: (&sb->s_type->i_mutex_key#13){+.+.+.}, at: [<ffffffff811694e5>] do_last+0x2f5/0x8a0 [ 2655.470882] #1: (&(&eb->lock)->rlock){+.+...}, at: [<ffffffffa020d6c2>] btrfs_clear_lock_blocking+0x22/0x30 [btrfs] -[ 2655.470882] +[ 2655.470882]=20 [ 2655.470882] stack backtrace: -[ 2655.470882] Pid: 2420, comm: cosd Tainted: G W 2.6.39-rc1 #2 +[ 2655.470882] Pid: 2420, comm: cosd Tainted: G W 2.6.39-rc1 #= +2 [ 2655.470882] Call Trace: [ 2655.470882] [<ffffffff8109b224>] __lock_acquire+0x1154/0x14b0 [ 2655.470882] [<ffffffff8109b620>] lock_acquire+0xa0/0x150 @@ -132,7 +138,7 @@ btrfs_clear_lock_blocking+0x22/0x30 [btrfs] 2.log2 -............................................................... +=2E.............................................................. [ 156.240012] CE: hpet2 increased min_delta_ns to 11250 nsec [ 167.490003] CE: hpet4 increased min_delta_ns to 7500 nsec @@ -140,14 +146,16 @@ btrfs_clear_lock_blocking+0x22/0x30 [btrfs] [ 2601.060330] ------------[ cut here ]------------ [ 2601.060347] WARNING: at fs/btrfs/inode.c:2177 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]() -[ 2601.060349] Hardware name: OptiPlex 780 +[ 2601.060349] Hardware name: OptiPlex 780 =20 [ 2601.060350] Modules linked in: btrfs zlib_deflate crc32c libcrc32c i915 snd_hda_codec_analog fbcon tileblit font bitblit softcursor drm_kms_helper drm snd_hda_intel snd_hda_codec snd_hwdep snd_pcm -snd_timer snd soundcore psmouse i2c_algo_bit snd_page_alloc lp intel_agp +snd_timer snd soundcore psmouse i2c_algo_bit snd_page_alloc lp intel_ag= +p ppdev video intel_gtt parport_pc dell_wmi parport serio_raw sparse_keymap dcdbas r8169 mii -[ 2601.060435] Pid: 586, comm: btrfs-transacti Not tainted 2.6.39-rc1 #2 +[ 2601.060435] Pid: 586, comm: btrfs-transacti Not tainted 2.6.39-rc1 #= +2 [ 2601.060436] Call Trace: [ 2601.060443] [<ffffffff8105f13f>] warn_slowpath_common+0x7f/0xc0 [ 2601.060446] [<ffffffff8105f19a>] warn_slowpath_null+0x1a/0x20 @@ -179,21 +187,24 @@ sparse_keymap dcdbas r8169 mii -在 2011-04-08五的 00:20 +0800,Josef Bacik写道: +=E5=9C=A8 2011-04-08=E4=BA=94=E7=9A=84 00:20 +0800=EF=BC=8CJosef Bacik=E5= +=86=99=E9=81=93=EF=BC=9A > On 04/07/2011 05:41 AM, Jeff Wu wrote: > > Hi , > > I run iozone stress test on a ceph client for x86_64, ceph 0.26 + > > linux-2.6.39-rc1 server, > > printk "WARNING: at fs/btrfs/inode.c:2177" > > -> Crap I was hoping I had fixed this, could you run with this debug patch +> Crap I was hoping I had fixed this, could you run with this debug pat= +ch=20 > and get me the output so I can figure out what's going on? Thanks, -> +>=20 > Josef -> -> +>=20 +>=20 -- -To unsubscribe from this list: send the line "unsubscribe ceph-devel" in +To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= +n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 16b3745..96959f1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -11,14 +11,14 @@ "\n" "Hi ,\n" "I applied the patch to 2.6.39-rc1,took the following steps to compile\n" - "it:make && make modules_install && make install && mkinitramfs \n" - "but , it seam that it don't run to \"WARN_ON(block_rsv ==\n" + "it:make && make modules_install && make install && mkinitramfs=20\n" + "but , it seam that it don't run to \"WARN_ON(block_rsv =3D=3D\n" "root->orphan_block_rsv);\"\n" "\n" "i attached the codes and logs at the below:\n" "\n" "\n" - "............................................\n" + "=2E...........................................\n" "int btrfs_block_rsv_add(struct btrfs_trans_handle *trans,\n" " struct btrfs_root *root,\n" " struct btrfs_block_rsv *block_rsv,\n" @@ -26,11 +26,12 @@ "{\n" " int ret;\n" "\n" - " WARN_ON(block_rsv == root->orphan_block_rsv);\n" - " if (num_bytes == 0)\n" + " WARN_ON(block_rsv =3D=3D root->orphan_block_rsv);\n" + " if (num_bytes =3D=3D 0)\n" " return 0;\n" "\n" - " ret = reserve_metadata_bytes(trans, root, block_rsv, num_bytes,\n" + " ret =3D reserve_metadata_bytes(trans, root, block_rsv, num_byte=\n" + "s,\n" "1);\n" " if (!ret) {\n" " block_rsv_add_bytes(block_rsv, num_bytes, 1);\n" @@ -39,14 +40,14 @@ "\n" " return ret;\n" "}\n" - "..................................................\n" + "=2E.................................................\n" "\n" "\n" "\n" "\n" "1.log1\n" "\n" - "......................................................\n" + "=2E.....................................................\n" "[ 147.740003] CE: hpet5 increased min_delta_ns to 7500 nsec\n" "[ 147.740012] CE: hpet5 increased min_delta_ns to 11250 nsec\n" "[ 148.520005] CE: hpet4 increased min_delta_ns to 7500 nsec\n" @@ -54,14 +55,16 @@ "[ 2561.740727] ------------[ cut here ]------------\n" "[ 2561.740746] WARNING: at fs/btrfs/inode.c:2177\n" "btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()\n" - "[ 2561.740748] Hardware name: OptiPlex 780 \n" + "[ 2561.740748] Hardware name: OptiPlex 780 =20\n" "[ 2561.740750] Modules linked in: i915 btrfs fbcon tileblit font\n" - "snd_hda_codec_analog bitblit softcursor drm_kms_helper drm snd_hda_intel\n" + "snd_hda_codec_analog bitblit softcursor drm_kms_helper drm snd_hda_inte=\n" + "l\n" "snd_hda_codec snd_hwdep snd_pcm zlib_deflate crc32c snd_timer libcrc32c\n" "snd psmouse i2c_algo_bit ppdev intel_agp parport_pc soundcore lp\n" "intel_gtt snd_page_alloc video dell_wmi parport serio_raw sparse_keymap\n" "r8169 mii ata_piix\n" - "[ 2561.740781] Pid: 570, comm: btrfs-transacti Not tainted 2.6.39-rc1 #2\n" + "[ 2561.740781] Pid: 570, comm: btrfs-transacti Not tainted 2.6.39-rc1 #=\n" + "2\n" "[ 2561.740783] Call Trace:\n" "[ 2561.740789] [<ffffffff8105fe9f>] warn_slowpath_common+0x7f/0xc0\n" "[ 2561.740793] [<ffffffff8105fefa>] warn_slowpath_null+0x1a/0x20\n" @@ -83,28 +86,31 @@ "[ 2561.740865] [<ffffffff810831c0>] ? __init_kthread_worker+0x70/0x70\n" "[ 2561.740868] [<ffffffff815b5ea0>] ? gs_change+0x13/0x13\n" "[ 2561.740870] ---[ end trace c68c126da4200e73 ]---\n" - "[ 2655.461017] \n" - "[ 2655.461019] =============================================\n" + "[ 2655.461017]=20\n" + "[ 2655.461019] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=\n" + "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=\n" + "=3D=3D\n" "[ 2655.467908] [ INFO: possible recursive locking detected ]\n" "[ 2655.470882] 2.6.39-rc1 #2\n" "[ 2655.470882] ---------------------------------------------\n" "[ 2655.470882] cosd/2420 is trying to acquire lock:\n" "[ 2655.470882] (&(&eb->lock)->rlock){+.+...}, at: [<ffffffffa020d5f9>]\n" "btrfs_try_spin_lock+0x59/0x100 [btrfs]\n" - "[ 2655.470882] \n" + "[ 2655.470882]=20\n" "[ 2655.470882] but task is already holding lock:\n" "[ 2655.470882] (&(&eb->lock)->rlock){+.+...}, at: [<ffffffffa020d6c2>]\n" "btrfs_clear_lock_blocking+0x22/0x30 [btrfs]\n" - "[ 2655.470882] \n" + "[ 2655.470882]=20\n" "[ 2655.470882] other info that might help us debug this:\n" "[ 2655.470882] 2 locks held by cosd/2420:\n" "[ 2655.470882] #0: (&sb->s_type->i_mutex_key#13){+.+.+.}, at:\n" "[<ffffffff811694e5>] do_last+0x2f5/0x8a0\n" "[ 2655.470882] #1: (&(&eb->lock)->rlock){+.+...}, at:\n" "[<ffffffffa020d6c2>] btrfs_clear_lock_blocking+0x22/0x30 [btrfs]\n" - "[ 2655.470882] \n" + "[ 2655.470882]=20\n" "[ 2655.470882] stack backtrace:\n" - "[ 2655.470882] Pid: 2420, comm: cosd Tainted: G W 2.6.39-rc1 #2\n" + "[ 2655.470882] Pid: 2420, comm: cosd Tainted: G W 2.6.39-rc1 #=\n" + "2\n" "[ 2655.470882] Call Trace:\n" "[ 2655.470882] [<ffffffff8109b224>] __lock_acquire+0x1154/0x14b0\n" "[ 2655.470882] [<ffffffff8109b620>] lock_acquire+0xa0/0x150\n" @@ -142,7 +148,7 @@ "\n" "2.log2\n" "\n" - "...............................................................\n" + "=2E..............................................................\n" "\n" "[ 156.240012] CE: hpet2 increased min_delta_ns to 11250 nsec\n" "[ 167.490003] CE: hpet4 increased min_delta_ns to 7500 nsec\n" @@ -150,14 +156,16 @@ "[ 2601.060330] ------------[ cut here ]------------\n" "[ 2601.060347] WARNING: at fs/btrfs/inode.c:2177\n" "btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()\n" - "[ 2601.060349] Hardware name: OptiPlex 780 \n" + "[ 2601.060349] Hardware name: OptiPlex 780 =20\n" "[ 2601.060350] Modules linked in: btrfs zlib_deflate crc32c libcrc32c\n" "i915 snd_hda_codec_analog fbcon tileblit font bitblit softcursor\n" "drm_kms_helper drm snd_hda_intel snd_hda_codec snd_hwdep snd_pcm\n" - "snd_timer snd soundcore psmouse i2c_algo_bit snd_page_alloc lp intel_agp\n" + "snd_timer snd soundcore psmouse i2c_algo_bit snd_page_alloc lp intel_ag=\n" + "p\n" "ppdev video intel_gtt parport_pc dell_wmi parport serio_raw\n" "sparse_keymap dcdbas r8169 mii\n" - "[ 2601.060435] Pid: 586, comm: btrfs-transacti Not tainted 2.6.39-rc1 #2\n" + "[ 2601.060435] Pid: 586, comm: btrfs-transacti Not tainted 2.6.39-rc1 #=\n" + "2\n" "[ 2601.060436] Call Trace:\n" "[ 2601.060443] [<ffffffff8105f13f>] warn_slowpath_common+0x7f/0xc0\n" "[ 2601.060446] [<ffffffff8105f19a>] warn_slowpath_null+0x1a/0x20\n" @@ -189,23 +197,26 @@ "\n" "\n" "\n" - "\345\234\250 2011-04-08\344\272\224\347\232\204 00:20 +0800\357\274\214Josef Bacik\345\206\231\351\201\223\357\274\232\n" + "=E5=9C=A8 2011-04-08=E4=BA=94=E7=9A=84 00:20 +0800=EF=BC=8CJosef Bacik=E5=\n" + "=86=99=E9=81=93=EF=BC=9A\n" "> On 04/07/2011 05:41 AM, Jeff Wu wrote:\n" "> > Hi ,\n" "> > I run iozone stress test on a ceph client for x86_64, ceph 0.26 +\n" "> > linux-2.6.39-rc1 server,\n" "> > printk \"WARNING: at fs/btrfs/inode.c:2177\"\n" "> >\n" - "> Crap I was hoping I had fixed this, could you run with this debug patch \n" + "> Crap I was hoping I had fixed this, could you run with this debug pat=\n" + "ch=20\n" "> and get me the output so I can figure out what's going on? Thanks,\n" - "> \n" + ">=20\n" "> Josef\n" - "> \n" - "> \n" + ">=20\n" + ">=20\n" "\n" "--\n" - "To unsubscribe from this list: send the line \"unsubscribe ceph-devel\" in\n" + "To unsubscribe from this list: send the line \"unsubscribe ceph-devel\" i=\n" + "n\n" "the body of a message to majordomo@vger.kernel.org\n" More majordomo info at http://vger.kernel.org/majordomo-info.html -ededb568e2d9bdd7f7703c9b9248a5889bfcb3e56acb922edec7d99bc2aa98ea +165ded87f59cb67e90c7b7031ae6df6ffbe450246fcf23b4ab32da2039bb6712
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.