<div>Hi Bhushan,</div>
<div> </div>
<div>I don't know the specific runtime environment of your testing, so I can't give you the accurate suggestion.</div>
<div> </div>
<div>I think you'd better add a new request via addintq() function.</div>
<div> </div>
<div>Also, you'd better check the complete of every subrequest in iodriver_access_complete(),  and the complete of every logical request in logorg_mapcomplete().</div>
<div> </div>
<div>Furthermore, you'd better check the .parv file you used and adjust the queue parameters.</div>
<div> </div>
<div> </div>
<div>I hope you find these suggestions useful.</div>
<div> </div>
<div> </div>
<div>Yinliang Yue</div>
<div>HUST, China</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 2/23/09, <b class="gmail_sendername">Bhushan</b> <<a href="mailto:mohan@cs.virginia.edu">mohan@cs.virginia.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>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. <br>
<br>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.<br>
<br>Thanks!<br clear="all"><br>-- <br>Regards,<br><span class="sg">Bhushan.<br></span><br>_______________________________________________<br>Disksim-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Disksim-users@ece.cmu.edu">Disksim-users@ece.cmu.edu</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://sos.ece.cmu.edu/mailman/listinfo/disksim-users" target="_blank">https://sos.ece.cmu.edu/mailman/listinfo/disksim-users</a><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Best regards! <br><br>Yinliang Yue<br>HUST, Wuhan, China