<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>Hi,</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana><FONT size=2> I am working on
augmenting the support of the switch of the disk status, such as active, idle,
standby, sleep in the disksim. And I have a problem.</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2> If the current status of a
disk is sleep while an I/O request arrives, the disk can not serve the
request immediately and must wait for a period, call wake-up time, to
serve it. So, the events in terms of the disk should be delayed till
the disk is ready waked-up. considering the RAID configuration, only
the corresponding events of the waking-up disks should be delayed and the
other events for the other disks which are in the
active/idle status should be handled without delay.</FONT></DIV>
<DIV><FONT face=Verdana size=2> the question is: how
can I do something in the disksim, to differentiate the events' cause
by the different disks. If I block all of the events in the event
loop once a disk is in the sleep status, it leads to an unfair and
wrong result.</FONT></DIV>
<DIV><FONT face=Verdana size=2> any suggestion is
appreciated. </FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2>
</FONT></FONT><FONT face=Verdana></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>Lei Tian</FONT></DIV></FONT></BODY></HTML>