Re: btrfs call trace

2012-06-25 Thread Sage Weil
Hi Stefan,

I haven't seen this one.  The async commit stuff is mine, but there 
haven't been problems with it for a year or more.  This is a recent 
kernel, I assume? 

Can you dump the other tasks?  Something is preventing the commit from 
completing.

[adding linux-btrfs to cc]

sage


On Fri, 22 Jun 2012, Stefan Priebe wrote:

 Hi,
 
 are these bugs known?
 
 [ 2157.104532] INFO: task kworker/2:2:6278 blocked for more than 120 seconds.
 [ 2157.130649] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables
 this message.
 [ 2157.156750] kworker/2:2 D 8180eba0 0  6278  2
 0x
 [ 2157.182763]  880c3c0d7c90 0046 880c3e2aa1c0
 00012280
 [ 2157.208662]  880c3c0d7fd8 880c3c0d6010 00012280
 00012280
 [ 2157.234591]  880c3c0d7fd8 00012280 880e78e5a240
 880c3e2aa1c0
 [ 2157.260573] Call Trace:
 [ 2157.285872]  [81620334] schedule+0x24/0x70
 [ 2157.311097]  [a007f4e5] wait_for_commit+0x55/0x90 [btrfs]
 [ 2157.311106]  [81060140] ? wake_up_bit+0x40/0x40
 [ 2157.311129]  [a00810b5] btrfs_commit_transaction+0x655/0xab0
 [btrfs]
 [ 2157.311134]  [810736f0] ? set_next_entity+0x90/0xa0
 [ 2157.311138]  [81060140] ? wake_up_bit+0x40/0x40
 [ 2157.311156]  [a0081810] ? btrfs_end_transaction+0x20/0x20 [btrfs]
 [ 2157.311171]  [a008182a] do_async_commit+0x1a/0x30 [btrfs]
 [ 2157.311175]  [81058eff] process_one_work+0x11f/0x470
 [ 2157.311179]  [8105b128] worker_thread+0x178/0x400
 [ 2157.311182]  [8105afb0] ? manage_workers+0x210/0x210
 [ 2157.311185]  [8105fc46] kthread+0x96/0xa0
 [ 2157.311190]  [81622dd4] kernel_thread_helper+0x4/0x10
 [ 2157.311195]  [8105fbb0] ? kthread_worker_fn+0x130/0x130
 [ 2157.311198]  [81622dd0] ? gs_change+0xb/0xb
 [ 2157.311220] INFO: task ceph-osd:14426 blocked for more than 120 seconds.
 [ 2157.311220] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables
 this message.
 [ 2157.311224] ceph-osdD 0002 0 14426  1
 0x
 [ 2157.311228]  880ae8c33c38 0082 880a39142180
 00012280
 [ 2157.311231]  880ae8c33fd8 880ae8c32010 00012280
 00012280
 [ 2157.311234]  880ae8c33fd8 00012280 880983efa1c0
 880a39142180
 [ 2157.311235] Call Trace:
 [ 2157.311240]  [81620334] schedule+0x24/0x70
 [ 2157.311256]  [a0081d85]
 btrfs_commit_transaction_async+0x1d5/0x240 [btrfs]
 [ 2157.311271]  [a0065eb6] ? block_rsv_add_bytes+0x26/0x60 [btrfs]
 [ 2157.311275]  [81060140] ? wake_up_bit+0x40/0x40
 [ 2157.311289]  [a0065f25] ? block_rsv_migrate_bytes+0x35/0x50
 [btrfs]
 [ 2157.311311]  [a00b2d5e] btrfs_mksubvol+0x2be/0x350 [btrfs]
 [ 2157.311329]  [a00b2ef9]
 btrfs_ioctl_snap_create_transid+0x109/0x1a0 [btrfs]
 [ 2157.311346]  [a00b4bf4] btrfs_ioctl_snap_create_v2+0x84/0xf0
 [btrfs]
 [ 2157.311363]  [a00b756f] btrfs_ioctl+0x76f/0x12d0 [btrfs]
 [ 2157.311368]  [8114459a] ? fsnotify+0x1ba/0x2e0
 [ 2157.311372]  [8111ade3] do_vfs_ioctl+0x93/0x4f0
 [ 2157.311375]  [8111b28a] sys_ioctl+0x4a/0x80
 [ 2157.311379]  [81621ba2] system_call_fastpath+0x16/0x1b
 
 Stefan
 --
 To unsubscribe from this list: send the line unsubscribe ceph-devel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
 
--
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


Re: btrfs call trace

2012-06-25 Thread Stefan Priebe
Thanks it seems to be a problem with the discard option. I'm already talking to 
 JBacik at linux-btrfs.

You can find more info in this thread.

http://www.spinics.net/lists/linux-btrfs/msg17439.html

Hopefully we can solve it as discard gives me a huge improvement in ceph.

Stefan

Am 26.06.2012 um 00:04 schrieb Sage Weil s...@inktank.com:

 Hi Stefan,
 
 I haven't seen this one.  The async commit stuff is mine, but there 
 haven't been problems with it for a year or more.  This is a recent 
 kernel, I assume? 
 
 Can you dump the other tasks?  Something is preventing the commit from 
 completing.
 
 [adding linux-btrfs to cc]
 
 sage
 
 
 On Fri, 22 Jun 2012, Stefan Priebe wrote:
 
 Hi,
 
 are these bugs known?
 
 [ 2157.104532] INFO: task kworker/2:2:6278 blocked for more than 120 seconds.
 [ 2157.130649] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables
 this message.
 [ 2157.156750] kworker/2:2 D 8180eba0 0  6278  2
 0x
 [ 2157.182763]  880c3c0d7c90 0046 880c3e2aa1c0
 00012280
 [ 2157.208662]  880c3c0d7fd8 880c3c0d6010 00012280
 00012280
 [ 2157.234591]  880c3c0d7fd8 00012280 880e78e5a240
 880c3e2aa1c0
 [ 2157.260573] Call Trace:
 [ 2157.285872]  [81620334] schedule+0x24/0x70
 [ 2157.311097]  [a007f4e5] wait_for_commit+0x55/0x90 [btrfs]
 [ 2157.311106]  [81060140] ? wake_up_bit+0x40/0x40
 [ 2157.311129]  [a00810b5] btrfs_commit_transaction+0x655/0xab0
 [btrfs]
 [ 2157.311134]  [810736f0] ? set_next_entity+0x90/0xa0
 [ 2157.311138]  [81060140] ? wake_up_bit+0x40/0x40
 [ 2157.311156]  [a0081810] ? btrfs_end_transaction+0x20/0x20 
 [btrfs]
 [ 2157.311171]  [a008182a] do_async_commit+0x1a/0x30 [btrfs]
 [ 2157.311175]  [81058eff] process_one_work+0x11f/0x470
 [ 2157.311179]  [8105b128] worker_thread+0x178/0x400
 [ 2157.311182]  [8105afb0] ? manage_workers+0x210/0x210
 [ 2157.311185]  [8105fc46] kthread+0x96/0xa0
 [ 2157.311190]  [81622dd4] kernel_thread_helper+0x4/0x10
 [ 2157.311195]  [8105fbb0] ? kthread_worker_fn+0x130/0x130
 [ 2157.311198]  [81622dd0] ? gs_change+0xb/0xb
 [ 2157.311220] INFO: task ceph-osd:14426 blocked for more than 120 seconds.
 [ 2157.311220] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables
 this message.
 [ 2157.311224] ceph-osdD 0002 0 14426  1
 0x
 [ 2157.311228]  880ae8c33c38 0082 880a39142180
 00012280
 [ 2157.311231]  880ae8c33fd8 880ae8c32010 00012280
 00012280
 [ 2157.311234]  880ae8c33fd8 00012280 880983efa1c0
 880a39142180
 [ 2157.311235] Call Trace:
 [ 2157.311240]  [81620334] schedule+0x24/0x70
 [ 2157.311256]  [a0081d85]
 btrfs_commit_transaction_async+0x1d5/0x240 [btrfs]
 [ 2157.311271]  [a0065eb6] ? block_rsv_add_bytes+0x26/0x60 [btrfs]
 [ 2157.311275]  [81060140] ? wake_up_bit+0x40/0x40
 [ 2157.311289]  [a0065f25] ? block_rsv_migrate_bytes+0x35/0x50
 [btrfs]
 [ 2157.311311]  [a00b2d5e] btrfs_mksubvol+0x2be/0x350 [btrfs]
 [ 2157.311329]  [a00b2ef9]
 btrfs_ioctl_snap_create_transid+0x109/0x1a0 [btrfs]
 [ 2157.311346]  [a00b4bf4] btrfs_ioctl_snap_create_v2+0x84/0xf0
 [btrfs]
 [ 2157.311363]  [a00b756f] btrfs_ioctl+0x76f/0x12d0 [btrfs]
 [ 2157.311368]  [8114459a] ? fsnotify+0x1ba/0x2e0
 [ 2157.311372]  [8111ade3] do_vfs_ioctl+0x93/0x4f0
 [ 2157.311375]  [8111b28a] sys_ioctl+0x4a/0x80
 [ 2157.311379]  [81621ba2] system_call_fastpath+0x16/0x1b
 
 Stefan
 --
 To unsubscribe from this list: send the line unsubscribe ceph-devel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
 
 --
 To unsubscribe from this list: send the line unsubscribe ceph-devel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
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


Re: btrfs call trace

2012-06-25 Thread Alexandre DERUMIER
Hi Stephan,
Maybe it can help:

If I remember discard from a kvm guest works only with ide and scsi device, but 
not virtio device.

- Mail original - 

De: Stefan Priebe s.pri...@profihost.ag 
À: Sage Weil s...@inktank.com 
Cc: ceph-de...@vger.kernel.org, linux-btrfs@vger.kernel.org 
Envoyé: Mardi 26 Juin 2012 00:12:10 
Objet: Re: btrfs call trace 

Thanks it seems to be a problem with the discard option. I'm already talking to 
JBacik at linux-btrfs. 

You can find more info in this thread. 

http://www.spinics.net/lists/linux-btrfs/msg17439.html 

Hopefully we can solve it as discard gives me a huge improvement in ceph. 

Stefan 

Am 26.06.2012 um 00:04 schrieb Sage Weil s...@inktank.com: 

 Hi Stefan, 
 
 I haven't seen this one. The async commit stuff is mine, but there 
 haven't been problems with it for a year or more. This is a recent 
 kernel, I assume? 
 
 Can you dump the other tasks? Something is preventing the commit from 
 completing. 
 
 [adding linux-btrfs to cc] 
 
 sage 
 
 
 On Fri, 22 Jun 2012, Stefan Priebe wrote: 
 
 Hi, 
 
 are these bugs known? 
 
 [ 2157.104532] INFO: task kworker/2:2:6278 blocked for more than 120 
 seconds. 
 [ 2157.130649] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables 
 this message. 
 [ 2157.156750] kworker/2:2 D 8180eba0 0 6278 2 
 0x 
 [ 2157.182763] 880c3c0d7c90 0046 880c3e2aa1c0 
 00012280 
 [ 2157.208662] 880c3c0d7fd8 880c3c0d6010 00012280 
 00012280 
 [ 2157.234591] 880c3c0d7fd8 00012280 880e78e5a240 
 880c3e2aa1c0 
 [ 2157.260573] Call Trace: 
 [ 2157.285872] [81620334] schedule+0x24/0x70 
 [ 2157.311097] [a007f4e5] wait_for_commit+0x55/0x90 [btrfs] 
 [ 2157.311106] [81060140] ? wake_up_bit+0x40/0x40 
 [ 2157.311129] [a00810b5] btrfs_commit_transaction+0x655/0xab0 
 [btrfs] 
 [ 2157.311134] [810736f0] ? set_next_entity+0x90/0xa0 
 [ 2157.311138] [81060140] ? wake_up_bit+0x40/0x40 
 [ 2157.311156] [a0081810] ? btrfs_end_transaction+0x20/0x20 
 [btrfs] 
 [ 2157.311171] [a008182a] do_async_commit+0x1a/0x30 [btrfs] 
 [ 2157.311175] [81058eff] process_one_work+0x11f/0x470 
 [ 2157.311179] [8105b128] worker_thread+0x178/0x400 
 [ 2157.311182] [8105afb0] ? manage_workers+0x210/0x210 
 [ 2157.311185] [8105fc46] kthread+0x96/0xa0 
 [ 2157.311190] [81622dd4] kernel_thread_helper+0x4/0x10 
 [ 2157.311195] [8105fbb0] ? kthread_worker_fn+0x130/0x130 
 [ 2157.311198] [81622dd0] ? gs_change+0xb/0xb 
 [ 2157.311220] INFO: task ceph-osd:14426 blocked for more than 120 seconds. 
 [ 2157.311220] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables 
 this message. 
 [ 2157.311224] ceph-osd D 0002 0 14426 1 
 0x 
 [ 2157.311228] 880ae8c33c38 0082 880a39142180 
 00012280 
 [ 2157.311231] 880ae8c33fd8 880ae8c32010 00012280 
 00012280 
 [ 2157.311234] 880ae8c33fd8 00012280 880983efa1c0 
 880a39142180 
 [ 2157.311235] Call Trace: 
 [ 2157.311240] [81620334] schedule+0x24/0x70 
 [ 2157.311256] [a0081d85] 
 btrfs_commit_transaction_async+0x1d5/0x240 [btrfs] 
 [ 2157.311271] [a0065eb6] ? block_rsv_add_bytes+0x26/0x60 [btrfs] 
 [ 2157.311275] [81060140] ? wake_up_bit+0x40/0x40 
 [ 2157.311289] [a0065f25] ? block_rsv_migrate_bytes+0x35/0x50 
 [btrfs] 
 [ 2157.311311] [a00b2d5e] btrfs_mksubvol+0x2be/0x350 [btrfs] 
 [ 2157.311329] [a00b2ef9] 
 btrfs_ioctl_snap_create_transid+0x109/0x1a0 [btrfs] 
 [ 2157.311346] [a00b4bf4] btrfs_ioctl_snap_create_v2+0x84/0xf0 
 [btrfs] 
 [ 2157.311363] [a00b756f] btrfs_ioctl+0x76f/0x12d0 [btrfs] 
 [ 2157.311368] [8114459a] ? fsnotify+0x1ba/0x2e0 
 [ 2157.311372] [8111ade3] do_vfs_ioctl+0x93/0x4f0 
 [ 2157.311375] [8111b28a] sys_ioctl+0x4a/0x80 
 [ 2157.311379] [81621ba2] system_call_fastpath+0x16/0x1b 
 
 Stefan 
 -- 
 To unsubscribe from this list: send the line unsubscribe ceph-devel in 
 the body of a message to majord...@vger.kernel.org 
 More majordomo info at http://vger.kernel.org/majordomo-info.html 
 
 
 -- 
 To unsubscribe from this list: send the line unsubscribe ceph-devel in 
 the body of a message to majord...@vger.kernel.org 
 More majordomo info at http://vger.kernel.org/majordomo-info.html 
-- 
To unsubscribe from this list: send the line unsubscribe ceph-devel in 
the body of a message to majord...@vger.kernel.org 
More majordomo info at http://vger.kernel.org/majordomo-info.html 



-- 

-- 





Alexandre D e rumier 

Ingénieur Systèmes et Réseaux 


Fixe : 03 20 68 88 85 

Fax : 03 20 68 90 88 


45 Bvd du Général Leclerc 59100 Roubaix 
12 rue Marivaux 75002 Paris 

--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo

Re: btrfs call trace

2012-06-25 Thread Stefan Priebe
I don't use discard in KVM. I use it at the osd disc with ceph-osd.

Am 26.06.2012 um 06:09 schrieb Alexandre DERUMIER aderum...@odiso.com:

 Hi Stephan,
 Maybe it can help:
 
 If I remember discard from a kvm guest works only with ide and scsi device, 
 but not virtio device.
 
 - Mail original - 
 
 De: Stefan Priebe s.pri...@profihost.ag 
 À: Sage Weil s...@inktank.com 
 Cc: ceph-de...@vger.kernel.org, linux-btrfs@vger.kernel.org 
 Envoyé: Mardi 26 Juin 2012 00:12:10 
 Objet: Re: btrfs call trace 
 
 Thanks it seems to be a problem with the discard option. I'm already talking 
 to JBacik at linux-btrfs. 
 
 You can find more info in this thread. 
 
 http://www.spinics.net/lists/linux-btrfs/msg17439.html 
 
 Hopefully we can solve it as discard gives me a huge improvement in ceph. 
 
 Stefan 
 
 Am 26.06.2012 um 00:04 schrieb Sage Weil s...@inktank.com: 
 
 Hi Stefan, 
 
 I haven't seen this one. The async commit stuff is mine, but there 
 haven't been problems with it for a year or more. This is a recent 
 kernel, I assume? 
 
 Can you dump the other tasks? Something is preventing the commit from 
 completing. 
 
 [adding linux-btrfs to cc] 
 
 sage 
 
 
 On Fri, 22 Jun 2012, Stefan Priebe wrote: 
 
 Hi, 
 
 are these bugs known? 
 
 [ 2157.104532] INFO: task kworker/2:2:6278 blocked for more than 120 
 seconds. 
 [ 2157.130649] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables 
 this message. 
 [ 2157.156750] kworker/2:2 D 8180eba0 0 6278 2 
 0x 
 [ 2157.182763] 880c3c0d7c90 0046 880c3e2aa1c0 
 00012280 
 [ 2157.208662] 880c3c0d7fd8 880c3c0d6010 00012280 
 00012280 
 [ 2157.234591] 880c3c0d7fd8 00012280 880e78e5a240 
 880c3e2aa1c0 
 [ 2157.260573] Call Trace: 
 [ 2157.285872] [81620334] schedule+0x24/0x70 
 [ 2157.311097] [a007f4e5] wait_for_commit+0x55/0x90 [btrfs] 
 [ 2157.311106] [81060140] ? wake_up_bit+0x40/0x40 
 [ 2157.311129] [a00810b5] btrfs_commit_transaction+0x655/0xab0 
 [btrfs] 
 [ 2157.311134] [810736f0] ? set_next_entity+0x90/0xa0 
 [ 2157.311138] [81060140] ? wake_up_bit+0x40/0x40 
 [ 2157.311156] [a0081810] ? btrfs_end_transaction+0x20/0x20 
 [btrfs] 
 [ 2157.311171] [a008182a] do_async_commit+0x1a/0x30 [btrfs] 
 [ 2157.311175] [81058eff] process_one_work+0x11f/0x470 
 [ 2157.311179] [8105b128] worker_thread+0x178/0x400 
 [ 2157.311182] [8105afb0] ? manage_workers+0x210/0x210 
 [ 2157.311185] [8105fc46] kthread+0x96/0xa0 
 [ 2157.311190] [81622dd4] kernel_thread_helper+0x4/0x10 
 [ 2157.311195] [8105fbb0] ? kthread_worker_fn+0x130/0x130 
 [ 2157.311198] [81622dd0] ? gs_change+0xb/0xb 
 [ 2157.311220] INFO: task ceph-osd:14426 blocked for more than 120 seconds. 
 [ 2157.311220] echo 0  /proc/sys/kernel/hung_task_timeout_secs disables 
 this message. 
 [ 2157.311224] ceph-osd D 0002 0 14426 1 
 0x 
 [ 2157.311228] 880ae8c33c38 0082 880a39142180 
 00012280 
 [ 2157.311231] 880ae8c33fd8 880ae8c32010 00012280 
 00012280 
 [ 2157.311234] 880ae8c33fd8 00012280 880983efa1c0 
 880a39142180 
 [ 2157.311235] Call Trace: 
 [ 2157.311240] [81620334] schedule+0x24/0x70 
 [ 2157.311256] [a0081d85] 
 btrfs_commit_transaction_async+0x1d5/0x240 [btrfs] 
 [ 2157.311271] [a0065eb6] ? block_rsv_add_bytes+0x26/0x60 [btrfs] 
 [ 2157.311275] [81060140] ? wake_up_bit+0x40/0x40 
 [ 2157.311289] [a0065f25] ? block_rsv_migrate_bytes+0x35/0x50 
 [btrfs] 
 [ 2157.311311] [a00b2d5e] btrfs_mksubvol+0x2be/0x350 [btrfs] 
 [ 2157.311329] [a00b2ef9] 
 btrfs_ioctl_snap_create_transid+0x109/0x1a0 [btrfs] 
 [ 2157.311346] [a00b4bf4] btrfs_ioctl_snap_create_v2+0x84/0xf0 
 [btrfs] 
 [ 2157.311363] [a00b756f] btrfs_ioctl+0x76f/0x12d0 [btrfs] 
 [ 2157.311368] [8114459a] ? fsnotify+0x1ba/0x2e0 
 [ 2157.311372] [8111ade3] do_vfs_ioctl+0x93/0x4f0 
 [ 2157.311375] [8111b28a] sys_ioctl+0x4a/0x80 
 [ 2157.311379] [81621ba2] system_call_fastpath+0x16/0x1b 
 
 Stefan 
 -- 
 To unsubscribe from this list: send the line unsubscribe ceph-devel in 
 the body of a message to majord...@vger.kernel.org 
 More majordomo info at http://vger.kernel.org/majordomo-info.html 
 
 
 -- 
 To unsubscribe from this list: send the line unsubscribe ceph-devel in 
 the body of a message to majord...@vger.kernel.org 
 More majordomo info at http://vger.kernel.org/majordomo-info.html 
 -- 
 To unsubscribe from this list: send the line unsubscribe ceph-devel in 
 the body of a message to majord...@vger.kernel.org 
 More majordomo info at http://vger.kernel.org/majordomo-info.html 
 
 
 
 -- 
 
 -- 
 
 
 

 
 Alexandre D e rumier 
 
 Ingénieur Systèmes et Réseaux 
 
 
 Fixe : 03 20 68 88 85 
 
 Fax : 03 20 68 90 88 
 
 
 45 Bvd du Général