All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 22302] New: 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
@ 2010-11-07  8:18 bugzilla-daemon
  2010-11-07  8:19 ` [Bug 22302] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-11-07  8:18 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=22302

           Summary: 2.6.36 BUG: scheduling while atomic:
                    rc.sysinit/1376/0x00000002
           Product: File System
           Version: 2.5
    Kernel Version: 2.6.36
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: maciej.rutecki@gmail.com
                CC: rjw@sisk.pl, maciej.rutecki@gmail.com,
                    mathias.buren@gmail.com
        Regression: Yes


Subject    : 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
Submitter  : Mathias Burén <mathias.buren@gmail.com>
Date       : 2010-11-01 18:39
Message-ID : AANLkTi=kkW7ruOVp7mPsMDWRRkL2CqrOJCyZqxj_Vekm@mail.gmail.com
References : http://marc.info/?l=linux-kernel&m=128863676810517&w=2

This entry is being used for tracking a regression from 2.6.35. Please don't
close it until the problem is fixed in the mainline.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 22302] 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
  2010-11-07  8:18 [Bug 22302] New: 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002 bugzilla-daemon
@ 2010-11-07  8:19 ` bugzilla-daemon
  2010-11-07 22:25 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-11-07  8:19 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=22302


Maciej Rutecki <maciej.rutecki@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |16444




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 22302] 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
  2010-11-07  8:18 [Bug 22302] New: 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002 bugzilla-daemon
  2010-11-07  8:19 ` [Bug 22302] " bugzilla-daemon
@ 2010-11-07 22:25 ` bugzilla-daemon
  2010-11-16 18:26 ` bugzilla-daemon
  2010-11-16 18:27 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-11-07 22:25 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=22302


Theodore Tso <tytso@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tytso@mit.edu




--- Comment #1 from Theodore Tso <tytso@mit.edu>  2010-11-07 22:25:01 ---
This is caused by an interaction in two changes that happened in parallel in
2.6.36: commit id's dd3932eddf4 (block: remove BLKDEV_IFL_WAIT) and 
commit 5c521830cf3 (ext4: Support discard requests when running in no-journal
mode).

The problem is that ext4_free_blocks() can be called by functions which are
holding spinlocks, so it can't sleep --- and sb_issue_discard() now always
waits for the discard to be completed.  It doesn't support an asynchronous mode
at all.

The fix for the short-term is to remove the call to ext4_issue_discard() in
ext4_free_blocks().  This effectively removes the functionality of commit 
5c521830cf3.  The long-term fix would be to implement a version of
sb_issue_discard() which supports asynchronous mode, with an optional callback.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 22302] 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
  2010-11-07  8:18 [Bug 22302] New: 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002 bugzilla-daemon
  2010-11-07  8:19 ` [Bug 22302] " bugzilla-daemon
  2010-11-07 22:25 ` bugzilla-daemon
@ 2010-11-16 18:26 ` bugzilla-daemon
  2010-11-16 18:27 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-11-16 18:26 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=22302


Florian Mickler <florian@mickler.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |florian@mickler.org
         Resolution|                            |CODE_FIX




--- Comment #2 from Florian Mickler <florian@mickler.org>  2010-11-16 18:26:42 ---
Fixed by:
commit b56ff9d397cecdaad6c98c9d57cc6fea475e1f50
Author: Theodore Ts'o <tytso@mit.edu>
Date:   Mon Nov 8 13:49:33 2010 -0500

    ext4: Don't call sb_issue_discard() in ext4_free_blocks()

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 22302] 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002
  2010-11-07  8:18 [Bug 22302] New: 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-11-16 18:26 ` bugzilla-daemon
@ 2010-11-16 18:27 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-11-16 18:27 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=22302


Florian Mickler <florian@mickler.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-16 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07  8:18 [Bug 22302] New: 2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x00000002 bugzilla-daemon
2010-11-07  8:19 ` [Bug 22302] " bugzilla-daemon
2010-11-07 22:25 ` bugzilla-daemon
2010-11-16 18:26 ` bugzilla-daemon
2010-11-16 18:27 ` bugzilla-daemon

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.