<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/block/hd.c, branch v2.6.30</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>hd: fix locking</title>
<updated>2009-04-28T18:24:20+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2009-04-28T03:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0191944282e84931f92915b5f06b348a92dac7e1'/>
<id>0191944282e84931f92915b5f06b348a92dac7e1</id>
<content type='text'>
hd dance around local irq and HD_IRQ enable without achieving much.
It ends up transferring data from irq handler with both local irq and
HD_IRQ disabled.  The only place it actually does something is while
transferring the first block of a request which it does with HD_IRQ
disabled but local irq enabled.

Unfortunately, the dancing is horribly broken from locking POV.  IRQ
and timeout handlers access block queue without grabbing the queue
lock and running the driver in SMP configuration crashes the whole
machine pretty quickly.

Remove meaningless irq enable/disable dancing and add proper locking
in issue, irq and timeout paths.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hd dance around local irq and HD_IRQ enable without achieving much.
It ends up transferring data from irq handler with both local irq and
HD_IRQ disabled.  The only place it actually does something is while
transferring the first block of a request which it does with HD_IRQ
disabled but local irq enabled.

Unfortunately, the dancing is horribly broken from locking POV.  IRQ
and timeout handlers access block queue without grabbing the queue
lock and running the driver in SMP configuration crashes the whole
machine pretty quickly.

Remove meaningless irq enable/disable dancing and add proper locking
in issue, irq and timeout paths.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>include/linux/hdreg.h: remove unused defines</title>
<updated>2009-04-01T19:42:25+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2009-04-01T19:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4fe6e30645de0b7a179892d83049580bf72bcff2'/>
<id>4fe6e30645de0b7a179892d83049580bf72bcff2</id>
<content type='text'>
* Move HD_IRQ define to drivers/block/hd.c (only user).

* Remove unused *_STAT, *_ERR, HD_*, CD, IO, REL and TAG_MASK defines.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move HD_IRQ define to drivers/block/hd.c (only user).

* Remove unused *_STAT, *_ERR, HD_*, CD, IO, REL and TAG_MASK defines.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hd: WIN_* -&gt; ATA_CMD_*</title>
<updated>2008-10-10T20:39:21+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-10-10T20:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f26b3d75959e9a0e43a2e1e1148c075592746c3d'/>
<id>f26b3d75959e9a0e43a2e1e1148c075592746c3d</id>
<content type='text'>
* Use ATA_CMD_* defines instead of WIN_* ones.

* Include &lt;linux/ata.h&gt; directly instead of through &lt;linux/hdreg.h&gt;.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use ATA_CMD_* defines instead of WIN_* ones.

* Include &lt;linux/ata.h&gt; directly instead of through &lt;linux/hdreg.h&gt;.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hd.c: remove the #include &lt;linux/mc146818rtc.h&gt;</title>
<updated>2008-07-16T18:33:48+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-07-16T18:33:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=72a3d651b2fe341a8ae2ca164c395aa3007350cd'/>
<id>72a3d651b2fe341a8ae2ca164c395aa3007350cd</id>
<content type='text'>
The code that needed this #include was removed one year ago.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: rmk@arm.linux.org.uk
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code that needed this #include was removed one year ago.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: rmk@arm.linux.org.uk
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>move ide/legacy/hd.c to drivers/block/</title>
<updated>2008-07-16T18:33:47+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-07-16T18:33:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=453ea3ed0b3e8ad67d4ee9d2fccf3d95a3e1f709'/>
<id>453ea3ed0b3e8ad67d4ee9d2fccf3d95a3e1f709</id>
<content type='text'>
This patch moves hd.c to drivers/block/

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: rmk@arm.linux.org.uk
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch moves hd.c to drivers/block/

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: rmk@arm.linux.org.uk
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
