[Disksim-users] some questions regarding Disksim

Xiaoyu Yao xyao at cse.unl.edu
Wed Aug 9 15:27:43 EDT 2006


Hi 

In syssim_driver.c, the next request is assumed to be dispatched until the
last one has finished and reported by disksim. So here we don't need to know
the request id when the syssim_report_completion() is triggered. 

In disksim 3.0, there is a syssim_driver2.c which shows a more useful
example about using disksim as slave.  The code is much longer than
syssim_driver.c.  But you can tailor it to your needs. 

Xiaoyu

-----Original Message-----
From: disksim-users-bounces at ece.cmu.edu
[mailto:disksim-users-bounces at ece.cmu.edu] On Behalf Of Sriram Govindan
Sent: Wednesday, August 09, 2006 10:25 AM
To: haya shem tov
Cc: disksim-users at ece.cmu.edu
Subject: Re: [Disksim-users] some questions regarding Disksim

hi shemtov,

Request submission and completion at the IOdriver level is done in 
handle_new_request and iodriver_access_complete functions respectively in 
iodriver_disksim.c. From here you can track the complete flow.

Hope this helps,

sriram.G

On Wed, 9 Aug 2006, haya shem tov wrote:

> Dear Disksim users,
>  I am new in disksim and I am trying to integrate disksim in a larger
simulator
>  Using disksim_interface.c.
>  I am having some difficulties since I do not fully understand the API.
>  Does anyone has more documentation on disksim interface functions, or
more example programs? In detail, in the file syssim_driver.c when the
function syssim_report_completion is called , how can I know which request
was completed? Is there no ID filed in the Request structure?
>  Best,
> Haya Shemtov
>
> ---------------------------------
> Want to be your own boss? Learn how on  Yahoo! Small Business.
_______________________________________________
Disksim-users mailing list
Disksim-users at ece.cmu.edu
https://sos.ece.cmu.edu/mailman/listinfo/disksim-users




More information about the Disksim-users mailing list