[Disksim-users] Reorder request in Disksim
YaoQing,Wang
ericoolbe at ymail.com
Tue Dec 4 10:29:29 EST 2012
Hi~
Did you fix this problem first ?
https://sos.ece.cmu.edu/pipermail/disksim-users/2011-May/000651.html
-yq
On Tue, Dec 4, 2012 at 12:47 PM, Jerry Hu <jerryhu8 at hotmail.com> wrote:
> Dear Disksim users,
>
> I'm using Disksim with ssd-add-on.
>
> I want to implement a special priority scheduler, so i modified ioqueue_insert_fcfs_to_queue function in disksim_ioqueue.c.
>
> I reordered the requests in the queue according to the priority every time when a new request arrived.
>
> But simulation stopped with error message :
>
> Completed event not found pending in io
> queue - blkno 5991488, tmp->blkno 5991488, tmp->totalsize 8, 0, 0, 0, 8
> tmp->state 0
> disksim: disksim_ioqueue.c:2987: ioqueue_remove_completed_**request: Assertion `0' failed.
>
>
> How to reorder the requests in the queue correctly?
>
> Please help me , thanks a lot.
>
> _______________________________________________
> Disksim-users mailing list
> Disksim-users at ece.cmu.edu
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20121204/f6b6a94a/attachment.html>
More information about the Disksim-users
mailing list