Re: aborting IO requests

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 3 Dec 2002 07:03:05 +0100

sio is a cbdata. cbdata things are aborted by cbdataFree().

For storeio the abort operation is piggy backed on storeClose(sio) ->
SD.obj.close(sio).

* Pending reads are aborted if possible
* Pending writes are completed

In the long run there needs to be a specific abort file operation
added to the "fs" API me thinks.

Regards
Henrik

On Tuesday 03 December 2002 05.36, Robert Collins wrote:
> I can't find the code to trigger this!
>
> I suspected it to be a cbdataReferenceDone(foo->sio), but I can't
> find such a statement.
>
> Henrik,
> you were looking near this area not so long ago, care to comment?
>
> Rob
Received on Mon Dec 02 2002 - 23:03:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:59 MST