Re: Ramdisk / sync deadlock

From: Jens Axboe (axboe@suse.de)
Date: Tue Aug 22 2000 - 06:54:46 EST


On Tue, Aug 22 2000, Daniel Moore wrote:
> System: SGI 1400 SMP w/ sym53c8xx SCSI.
> Kernel: 2.4.0-test5
>
> I've been hitting a SMP deadlock caused by creating traffic
> on a ramdisk at the same time as syncing. The backtraces show
> the locks causing the deadlock. I don't know how to fix this
> one myself, so here's the info in case it helps...

This patch should fix it, rd does not need to hold the io_request_lock
all through the request fn.

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 21:00:06 EST