Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Darwin disk I/O question



Stuart Smith wrote:

> Darwin's disk drivers are single-threaded (per device) and do not implement
> any reordering of requests. This is left as an exercise for the developer.

What do you mean by 'single threaded'. The SCSI disconnect permits
the driver to have 'simultaneous' SCSI transfers going and upon
reconnect, the driver services the reconnecting device by updating
pointers/buffers/etc as required.

I don't believe IDE has such a concept, and by extension would
suspect that ATA may not either.

While this may not be implemented as a 'kernel' thread or the like,
various implementations of drivers to hand such call the transfer
requests 'threads'...






--
Copyright 2000, John Clark all rights reserved, in particular
permission for use in reference to any commercial product
is denied.
Copyright 2000, John Clark alle Rechte vorbehalten,
insbesondere kommerzieller Gebrauch ist nicht gestattet.


References: 
 >Darwin disk I/O question (From: Dave Yost <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.