[Disksim-users] should the NULL_EVENT and BUS_DELAY_COMPLETION events be delayed during the wake-up period of a disk?

田磊 raysmile at tom.com
Tue Nov 28 10:07:23 EST 2006


Hi,

    I encount  a problem on augmenting the support of the switch of the disk status, such as active, idle, standby, sleep in the disksim.
    I can delay some events during the wake-up period of a disk till the disk is really waken up.  But if I delay the NULL_EVENT event and the BUS_DELAY_COMPLETION event, the disksim will output some errors as follows and stops.

NULL_EVENT event:
Trace event appears out of time order in trace - simtime 34219.413995, time 32309.570000
ioscale 1.000000, tracebasetime 0.000000
devno 0, blkno 61481, bcount 3, flags 0

BUS_DELAY_COMPLETION event:
diskno(14):Cannot find ioreq in disk_buffer_update_outbuffer

I think BUS_DELAY_COMPLETION's error can be ignored because this event should not be delayed. But how about the NULL event? If I do not delay this event, the disksim can work well.
Should it be delayed or not?

any hints are appreciated, and thank John Bucy for his answer to my last question.

:)


Lei Tian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20061128/36a25b62/attachment.html>


More information about the Disksim-users mailing list