search for: scsifront_queuecommand

Displaying 1 result from an estimated 1 matches for "scsifront_queuecommand".

2008 Jul 10
2
Minor synchronisation quibble in scsifront
...d scsifront_do_request(struct vscsifrnt_info *info) { struct vscsiif_front_ring *ring = &(info->ring); unsigned int irq = info->irq; int notify; RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(ring, notify); if (notify) notify_remote_via_irq(irq); } scsifront_do_request() is also called from scsifront_queuecommand(), where it''s under the host lock. I can''t see any other relevant synchronisation, so I think that you might be able to end up with several processors pushing requests at the same time. I''m not sure what''ll happen then, but I doubt it''s a good idea. T...