Messages in this thread | | | Date | Fri, 15 Jul 2011 23:35:22 +0200 | From | Stefan Richter <> | Subject | Re: RFC: Boiler plate functions for ida / idr allocation? |
| |
On Jul 15 Boaz Harrosh wrote: > On 07/13/2011 05:41 AM, Stefan Richter wrote: > > osd_uld.c::osd_minor_ida is accessed unsafely. > > Device probe() and remove() methods are not globally serialized. > > Sorry for the delay. Vacation > > Thanks Stefan I'll look into it. I remember I thought about > it and tested it at the time, but I might be wrong. I'll look > into it.
Could actually be that there was or even still is some degree of serialization by the SCSI core in typical usage. But I think the general case is nowadays fully concurrent. E.g. echo $name > /sys/bus/scsi/drivers/osd*/{,un}bind if issued in parallel for different device names. Though it is probably borderline impossible to actually hit a concurrent osd_minor_ida access on purpose. -- Stefan Richter -=====-==-== -=== -==== http://arcgraph.de/sr/
| |