[Disksim-users] Crash at ioqueue_remove_from_subqueue

Bhushan mohan at cs.virginia.edu
Sun Feb 22 14:36:27 EST 2009


Hi,
Disksim crashes at ioqueue_remove_from_subqueue() when used along with ssd
add-on. This function removes tmp from the queue and resets the pointer in
the double linked list. But tmp->prev is NULL because of which disksim
crashes at tmp->prev->next. while accessing tmp->prev. Also, tmp->prev is
NULL for the entire tmp list.

Can someone provide the guidelines as to when we should be calling
ioqueue_insert_new_request() and when we should be calling
ioqueue_remove_from_subqueue() assuming that the requests are serviced in
FCFS. In this way, I can find out if I am incorrectly calling any of the two
functions mentioned above.

Thanks!

-- 
Regards,
Bhushan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20090222/c8140758/attachment.html>


More information about the Disksim-users mailing list