<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/block/cfq.h, branch tegra-11.2.2</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>cfq: fix recursive call in cfq_blkiocg_update_completion_stats()</title>
<updated>2010-06-21T07:10:55+00:00</updated>
<author>
<name>Jens Axboe</name>
<email>jaxboe@fusionio.com</email>
</author>
<published>2010-06-21T07:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9e495db1a1f931e82c9edccd677dd171be5b85d2'/>
<id>9e495db1a1f931e82c9edccd677dd171be5b85d2</id>
<content type='text'>
e98ef89b has a typo, causing cfq_blkiocg_update_completion_stats()
to call itself instead of blkiocg_update_completion_stats().

Reported-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e98ef89b has a typo, causing cfq_blkiocg_update_completion_stats()
to call itself instead of blkiocg_update_completion_stats().

Reported-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cfq-iosched: Fixed boot warning with BLK_CGROUP=y and CFQ_GROUP_IOSCHED=n</title>
<updated>2010-06-18T17:57:47+00:00</updated>
<author>
<name>Vivek Goyal</name>
<email>vgoyal@redhat.com</email>
</author>
<published>2010-06-18T14:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e98ef89b30b8a2e882b11d4965347015770f3627'/>
<id>e98ef89b30b8a2e882b11d4965347015770f3627</id>
<content type='text'>
Hi Jens,

Few days back Ingo noticed a CFQ boot time warning. This patch fixes it.
The issue here is that with CFQ_GROUP_IOSCHED=n, CFQ should not really
be making blkio stat related calls.

&gt; Hm, it's still not entirely fixed, as of 2.6.35-rc2-00131-g7908a9e. With
&gt; some
&gt; configs i get bad spinlock warnings during bootup:
&gt;
&gt; [   28.968013] initcall net_olddevs_init+0x0/0x82 returned 0 after 93750
&gt; usecs
&gt; [   28.972003] calling  b44_init+0x0/0x55 @ 1
&gt; [   28.976009] bus: 'pci': add driver b44
&gt; [   28.976374]  sda:
&gt; [   28.978157] BUG: spinlock bad magic on CPU#1, async/0/117
&gt; [   28.980000]  lock: 7e1c5bbc, .magic: 00000000, .owner: &lt;none&gt;/-1, +.owner_cpu: 0
&gt; [   28.980000] Pid: 117, comm: async/0 Not tainted +2.6.35-rc2-tip-01092-g010e7ef-dirty #8183
&gt; [   28.980000] Call Trace:
&gt; [   28.980000]  [&lt;41ba6d55&gt;] ? printk+0x20/0x24
&gt; [   28.980000]  [&lt;4134b7b7&gt;] spin_bug+0x7c/0x87
&gt; [   28.980000]  [&lt;4134b853&gt;] do_raw_spin_lock+0x1e/0x123
&gt; [   28.980000]  [&lt;41ba92ca&gt;] ? _raw_spin_lock_irqsave+0x12/0x20
&gt; [   28.980000]  [&lt;41ba92d2&gt;] _raw_spin_lock_irqsave+0x1a/0x20
&gt; [   28.980000]  [&lt;4133476f&gt;] blkiocg_update_io_add_stats+0x25/0xfb
&gt; [   28.980000]  [&lt;41335dae&gt;] ? cfq_prio_tree_add+0xb1/0xc1
&gt; [   28.980000]  [&lt;41337bc7&gt;] cfq_insert_request+0x8c/0x425

Signed-off-by: Vivek Goyal &lt;vgoyal@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hi Jens,

Few days back Ingo noticed a CFQ boot time warning. This patch fixes it.
The issue here is that with CFQ_GROUP_IOSCHED=n, CFQ should not really
be making blkio stat related calls.

&gt; Hm, it's still not entirely fixed, as of 2.6.35-rc2-00131-g7908a9e. With
&gt; some
&gt; configs i get bad spinlock warnings during bootup:
&gt;
&gt; [   28.968013] initcall net_olddevs_init+0x0/0x82 returned 0 after 93750
&gt; usecs
&gt; [   28.972003] calling  b44_init+0x0/0x55 @ 1
&gt; [   28.976009] bus: 'pci': add driver b44
&gt; [   28.976374]  sda:
&gt; [   28.978157] BUG: spinlock bad magic on CPU#1, async/0/117
&gt; [   28.980000]  lock: 7e1c5bbc, .magic: 00000000, .owner: &lt;none&gt;/-1, +.owner_cpu: 0
&gt; [   28.980000] Pid: 117, comm: async/0 Not tainted +2.6.35-rc2-tip-01092-g010e7ef-dirty #8183
&gt; [   28.980000] Call Trace:
&gt; [   28.980000]  [&lt;41ba6d55&gt;] ? printk+0x20/0x24
&gt; [   28.980000]  [&lt;4134b7b7&gt;] spin_bug+0x7c/0x87
&gt; [   28.980000]  [&lt;4134b853&gt;] do_raw_spin_lock+0x1e/0x123
&gt; [   28.980000]  [&lt;41ba92ca&gt;] ? _raw_spin_lock_irqsave+0x12/0x20
&gt; [   28.980000]  [&lt;41ba92d2&gt;] _raw_spin_lock_irqsave+0x1a/0x20
&gt; [   28.980000]  [&lt;4133476f&gt;] blkiocg_update_io_add_stats+0x25/0xfb
&gt; [   28.980000]  [&lt;41335dae&gt;] ? cfq_prio_tree_add+0xb1/0xc1
&gt; [   28.980000]  [&lt;41337bc7&gt;] cfq_insert_request+0x8c/0x425

Signed-off-by: Vivek Goyal &lt;vgoyal@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
