search for: kernfs_mutex

Displaying 7 results from an estimated 7 matches for "kernfs_mutex".

2014 Jun 27
2
virt_blk BUG: sleeping function called from invalid context
...8104df1b>] start_secondary+0x25b/0x300 ================================= [ INFO: inconsistent lock state ] 3.16.0-0.rc2.git2.1.fc21.x86_64 #1 Not tainted --------------------------------- inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. swapper/1/0 [HC1[1]:SC0[0]:HE0:SE1] takes: (kernfs_mutex){?.+.+.}, at: [<ffffffff812d76a0>] kernfs_notify+0x90/0x150 {HARDIRQ-ON-W} state was registered at: [<ffffffff811004b2>] __lock_acquire+0x942/0x1ca0 [<ffffffff811020f4>] lock_acquire+0xa4/0x1d0 [<ffffffff8180cb35>] mutex_lock_nested+0x85/0x440 [<ffffffff812d6...
2014 Jun 27
2
virt_blk BUG: sleeping function called from invalid context
...8104df1b>] start_secondary+0x25b/0x300 ================================= [ INFO: inconsistent lock state ] 3.16.0-0.rc2.git2.1.fc21.x86_64 #1 Not tainted --------------------------------- inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. swapper/1/0 [HC1[1]:SC0[0]:HE0:SE1] takes: (kernfs_mutex){?.+.+.}, at: [<ffffffff812d76a0>] kernfs_notify+0x90/0x150 {HARDIRQ-ON-W} state was registered at: [<ffffffff811004b2>] __lock_acquire+0x942/0x1ca0 [<ffffffff811020f4>] lock_acquire+0xa4/0x1d0 [<ffffffff8180cb35>] mutex_lock_nested+0x85/0x440 [<ffffffff812d6...
2014 Jun 29
0
virt_blk BUG: sleeping function called from invalid context
...0 > > ================================= > [ INFO: inconsistent lock state ] > 3.16.0-0.rc2.git2.1.fc21.x86_64 #1 Not tainted > --------------------------------- > inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. > swapper/1/0 [HC1[1]:SC0[0]:HE0:SE1] takes: > (kernfs_mutex){?.+.+.}, at: [<ffffffff812d76a0>] kernfs_notify+0x90/0x150 > {HARDIRQ-ON-W} state was registered at: > [<ffffffff811004b2>] __lock_acquire+0x942/0x1ca0 > [<ffffffff811020f4>] lock_acquire+0xa4/0x1d0 > [<ffffffff8180cb35>] mutex_lock_nested+0x85/0x440 &...
2014 Jul 01
3
[PATCH driver-core-linus] kernfs: kernfs_notify() must be useable from non-sleepable contexts
...on = kn->attr.open; if (on) { @@ -808,12 +822,12 @@ void kernfs_notify(struct kernfs_node *k wake_up_interruptible(&on->poll); } - spin_unlock_irqrestore(&kernfs_open_node_lock, flags); + spin_unlock_irq(&kernfs_open_node_lock); /* kick fsnotify */ mutex_lock(&kernfs_mutex); - list_for_each_entry(info, &root->supers, node) { + list_for_each_entry(info, &kernfs_root(kn)->supers, node) { struct inode *inode; struct dentry *dentry; @@ -833,6 +847,33 @@ void kernfs_notify(struct kernfs_node *k } mutex_unlock(&kernfs_mutex); + kernfs_put(...
2014 Jul 01
3
[PATCH driver-core-linus] kernfs: kernfs_notify() must be useable from non-sleepable contexts
...on = kn->attr.open; if (on) { @@ -808,12 +822,12 @@ void kernfs_notify(struct kernfs_node *k wake_up_interruptible(&on->poll); } - spin_unlock_irqrestore(&kernfs_open_node_lock, flags); + spin_unlock_irq(&kernfs_open_node_lock); /* kick fsnotify */ mutex_lock(&kernfs_mutex); - list_for_each_entry(info, &root->supers, node) { + list_for_each_entry(info, &kernfs_root(kn)->supers, node) { struct inode *inode; struct dentry *dentry; @@ -833,6 +847,33 @@ void kernfs_notify(struct kernfs_node *k } mutex_unlock(&kernfs_mutex); + kernfs_put(...
2014 Jun 29
2
virt_blk BUG: sleeping function called from invalid context
On 06/29/2014 02:47 PM, Michael S. Tsirkin wrote: > On Sun, Jun 29, 2014 at 09:32:22PM +0200, Christoph Hellwig wrote: >> On Sun, Jun 29, 2014 at 11:26:37AM +0300, Michael S. Tsirkin wrote: >>> On Fri, Jun 27, 2014 at 07:57:38AM -0400, Josh Boyer wrote: >>>> Hi All, >>>> >>>> We've had a report[1] of the virt_blk driver causing a lot of
2014 Jun 29
2
virt_blk BUG: sleeping function called from invalid context
On 06/29/2014 02:47 PM, Michael S. Tsirkin wrote: > On Sun, Jun 29, 2014 at 09:32:22PM +0200, Christoph Hellwig wrote: >> On Sun, Jun 29, 2014 at 11:26:37AM +0300, Michael S. Tsirkin wrote: >>> On Fri, Jun 27, 2014 at 07:57:38AM -0400, Josh Boyer wrote: >>>> Hi All, >>>> >>>> We've had a report[1] of the virt_blk driver causing a lot of