All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amon Ott <a.ott@m-privacy.de>
To: ceph-devel@vger.kernel.org
Subject: BUG: scheduling while atomic
Date: Fri, 9 Dec 2011 11:00:51 +0100	[thread overview]
Message-ID: <201112091100.52460.a.ott@m-privacy.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

Sorry folks for making so much trouble,

but there is still another locking issue with the kernel client. iput gets 
called with locks held, but iput can sleep and did in this occasion. It did 
not hang the system this time, but it can be quite nasty.

Log attached as usual.

Amon Ott
-- 
Dr. Amon Ott
m-privacy GmbH           Tel: +49 30 24342334
Am Köllnischen Park 1    Fax: +49 30 24342336
10179 Berlin             http://www.m-privacy.de

Amtsgericht Charlottenburg, HRB 84946

Geschäftsführer:
 Dipl.-Kfm. Holger Maczkowsky,
 Roman Maczkowsky

GnuPG-Key-ID: 0x2DD3A649

[-- Attachment #2: schedatomic.log --]
[-- Type: text/x-log, Size: 2784 bytes --]

Dec  9 10:45:26 tgpro1 kernel: BUG: scheduling while atomic: firefox-bin/31447/0x10000002
Dec  9 10:45:26 tgpro1 kernel: 2 locks held by firefox-bin/31447:
Dec  9 10:45:26 tgpro1 kernel:  #0:  (&sb->s_type->i_mutex_key#12){+.+.+.}, at: [<006c1e12>] ceph_dir_fsync+0x77/0x18a [ceph]
Dec  9 10:45:26 tgpro1 kernel:  #1:  (&(&ci->i_unsafe_lock)->rlock){+.+...}, at: [<006c1ecc>] ceph_dir_fsync+0x131/0x18a [ceph]
Dec  9 10:45:26 tgpro1 kernel: Modules linked in: parport_pc lp parport ceph libceph btrfs zlib_deflate lzo_decompress lzo_compress zlib_inflate libcrc32c fuse e1000e i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support evdev igb rtc_cmos button
Dec  9 10:45:26 tgpro1 kernel: Pid: 31447, comm: firefox-bin Tainted: G        W   3.1.4-rsbac #1
Dec  9 10:45:26 tgpro1 kernel: Call Trace:
Dec  9 10:45:26 tgpro1 kernel:  [<00060591>] __schedule_bug+0x5d/0x64
Dec  9 10:45:26 tgpro1 kernel:  [<0053ca0f>] __schedule+0x8e/0xb60
Dec  9 10:45:26 tgpro1 kernel:  [<000025c0>] ? __switch_to+0x1a/0x1a
Dec  9 10:45:26 tgpro1 kernel:  [<0008e987>] ? mark_held_locks+0xac/0xc9
Dec  9 10:45:26 tgpro1 kernel:  [<000a095a>] ? res_counter_uncharge+0x50/0x58
Dec  9 10:45:26 tgpro1 kernel:  [<0008ebfb>] ? trace_hardirqs_on_caller+0x10b/0x13c
Dec  9 10:45:26 tgpro1 kernel:  [<0008ec37>] ? trace_hardirqs_on+0xb/0xd
Dec  9 10:45:26 tgpro1 kernel:  [<0053d555>] _cond_resched+0x24/0x37
Dec  9 10:45:26 tgpro1 kernel:  [<000b9ef3>] truncate_inode_pages_range+0x10e/0x2d8
Dec  9 10:45:26 tgpro1 kernel:  [<0007ebc5>] ? wake_up_bit+0x57/0x5b
Dec  9 10:45:26 tgpro1 kernel:  [<00100414>] ? evict+0x57/0x12c
Dec  9 10:45:26 tgpro1 kernel:  [<000ba0c9>] truncate_inode_pages+0xc/0x10
Dec  9 10:45:26 tgpro1 kernel:  [<00100460>] evict+0xa3/0x12c
Dec  9 10:45:26 tgpro1 kernel:  [<0010063c>] iput+0x153/0x158
Dec  9 10:45:26 tgpro1 kernel:  [<000fe5fe>] d_kill+0xc9/0xe2
Dec  9 10:45:26 tgpro1 kernel:  [<000fed51>] dput+0x120/0x12b
Dec  9 10:45:26 tgpro1 kernel:  [<006d5883>] ? ceph_mdsc_create_request+0xf5/0xf5 [ceph]
Dec  9 10:45:26 tgpro1 kernel:  [<006d5912>] ceph_mdsc_release_request+0x8f/0xf9 [ceph]
Dec  9 10:45:26 tgpro1 kernel:  [<001b44a4>] kref_put+0x3f/0x48
Dec  9 10:45:26 tgpro1 kernel:  [<006c1ed9>] ceph_dir_fsync+0x13e/0x18a [ceph]
Dec  9 10:45:26 tgpro1 kernel:  [<000237f0>] ? kunmap+0x7/0x4e
Dec  9 10:45:26 tgpro1 kernel:  [<006c1d9b>] ? ceph_finish_lookup+0x92/0x92 [ceph]
Dec  9 10:45:26 tgpro1 kernel:  [<0010c7cf>] vfs_fsync_range+0x23/0x35
Dec  9 10:45:26 tgpro1 kernel:  [<0010c7f5>] vfs_fsync+0x14/0x16
Dec  9 10:45:26 tgpro1 kernel:  [<0010ca00>] do_fsync+0x23/0x33
Dec  9 10:45:26 tgpro1 kernel:  [<0010ca20>] sys_fdatasync+0x10/0x12
Dec  9 10:45:26 tgpro1 kernel:  [<0053faba>] syscall_call+0x7/0xb
Dec  9 10:45:26 tgpro1 kernel:  [<00530000>] ? update_res+0xc0/0x179

             reply	other threads:[~2011-12-09 10:01 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 10:00 Amon Ott [this message]
2011-12-14 23:59 ` BUG: scheduling while atomic Samuel Just
  -- strict thread matches above, loose matches on Subject: below --
2018-08-05 14:09 James Courtier-Dutton
2018-08-06  0:48 ` Qu Wenruo
     [not found]   ` <CAAMvbhGJdGobexGS0QEGDexNeZpZkJY3o_s9N4izZeEJ7-HWtA@mail.gmail.com>
2018-08-06  6:26     ` Qu Wenruo
2018-08-10 22:14       ` James Courtier-Dutton
2018-08-10 23:26         ` Qu Wenruo
2014-09-17  9:12 Mushtaq Khan
2015-02-17 10:18 ` Sebastian Andrzej Siewior
     [not found] <CABOM9ZqSazS-NkD980f6sUyy=hk1aLVY+Vjwcxs3mGybvbkgaQ@mail.gmail.com>
2012-04-18  6:44 ` Arun KS
2012-04-18  7:31   ` Dave Hylands
2012-04-18  8:08     ` Arun KS
2012-04-18  8:14       ` Dave Hylands
2012-04-18  8:27       ` Srivatsa S. Bhat
2012-04-18  8:40         ` Arun KS
2012-04-18  8:58   ` Arun KS
2012-04-18 15:40     ` Dave Hylands
2012-02-13  8:08 Florian Tobias Schandinat
2012-02-13  8:08 ` Florian Tobias Schandinat
2011-12-05  9:12 Bug:scheduling " sandeep kumar
2011-12-05 19:03 ` Jonathan Neuschäfer
2011-12-05 19:16 ` Jonathan Neuschäfer
2011-05-10  5:51 BUG: scheduling " sandeep kumar
2011-05-10  6:08 ` Dave Hylands
2010-08-27  7:59 Sergey Senozhatsky
2010-08-27 19:02 ` Rafael J. Wysocki
2010-08-27 19:02 ` Rafael J. Wysocki
2010-08-28  6:42   ` Pavel Machek
2010-08-30  7:29     ` Sergey Senozhatsky
2010-08-30  7:29     ` Sergey Senozhatsky
2010-08-30 10:04     ` Sergey Senozhatsky
2010-08-30 10:04     ` Sergey Senozhatsky
2010-08-28  6:42   ` Pavel Machek
2010-08-27  7:59 Sergey Senozhatsky
2009-06-27 11:10 Michael Guntsche
2009-06-27 13:06 ` Alan Cox
2009-06-27 16:07   ` Michael Guntsche
2009-07-06  7:43     ` Herbert Xu
2009-07-06  8:31       ` Herbert Xu
2009-07-06 15:28         ` Michael Guntsche
2009-07-06 15:32         ` Alan Cox
2009-07-06 17:17           ` Alan Cox
2009-07-06 18:07             ` Michael Guntsche
2009-07-06 18:18               ` Alan Cox
2009-07-06 18:37                 ` Michael Guntsche
2009-07-06 10:00       ` Alan Cox
2009-06-19 18:15 Sergey Senozhatsky
2009-06-20 17:43 ` Rabin Vincent
2009-06-20 18:54   ` Sergey Senozhatsky
2009-06-22  9:04     ` Alan Cox
2009-06-22  9:57     ` Alan Cox
2009-06-22 11:33       ` Sergey Senozhatsky
2009-06-22 12:36         ` Alan Cox
2009-06-22 13:59           ` Sergey Senozhatsky
2009-07-06  7:55           ` Herbert Xu
2009-04-07  6:29 Bug:scheduling " Vijay Nikam
2009-04-07  6:42 ` Kumar Gala
2008-03-17 15:00 BUG: scheduling " Holger Schurig
2008-03-17 15:13 ` Johannes Berg
2008-03-17 15:54   ` Holger Schurig
2008-02-19 22:22 John Linn
2007-07-30 17:07 Girish kathalagiri
2006-12-08 15:47 Christian
2006-06-02  9:39 fonseka
2006-06-02 12:37 ` Roger Luethi
2006-06-02 14:07   ` fonseka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201112091100.52460.a.ott@m-privacy.de \
    --to=a.ott@m-privacy.de \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.