diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-28 12:38:33 +0900 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 20:24:20 +0200 |
commit | 0191944282e84931f92915b5f06b348a92dac7e1 (patch) | |
tree | 5459927f8545c1a666913ee327c4f25c6994c6eb /fs/nfsd | |
parent | 0d9f346fb0cd6d6fc70827c5396a0d83939530e4 (diff) | |
download | linux-0191944282e84931f92915b5f06b348a92dac7e1.tar.gz linux-0191944282e84931f92915b5f06b348a92dac7e1.tar.bz2 linux-0191944282e84931f92915b5f06b348a92dac7e1.zip |
hd: fix locking
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 <tj@kernel.org>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions