[7563] in linux-scsi channel archive
SCSI CD-ROM driver question
daemon@ATHENA.MIT.EDU (gokhan sozmen)
Thu Nov 18 14:12:12 1999
To: linux-scsi@vger.rutgers.edu
Date: Thu, 18 Nov 1999 11:10:07 -0800
From: "gokhan sozmen" <gokhan_sozmen@hotbot.com>
Message-ID: <GPJCFDFGGMDCAAAA@hotbot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Language: en
Content-Transfer-Encoding: 7bit
Looking at drivers/scsi/sr.c/get_sectorsize()
in RH6.1 (2.2.12-20), it looks like the
function is calling both scsi_malloc()
and scsi_allocate_device() without
grabbing the io_request_lock. Wouldn't this
be a potential SMP race hazard?
rgds
Gokhan Sozmen
HotBot - Search smarter.
http://www.hotbot.com
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu