On Wed, Jul 02 2008, Elias Oltmanns wrote: > > The blk_plug_queue change looks reasonable ... however, blk_plug_queue > > itself looks like it might not entirely need the queue lock ... I need > > to investigate more closely. > > Well, I rather think it does. We have to serialise access to the > unplug_timer and there is a call to __set_bit() which, as I understand, > requires the calling function to ensure atomicity. Yep, blk_plug_device() needs to be called with the queue lock held. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html