Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound event wait /notify + callback chains

From: Chaitanya Tumuluri (
Date: Thu Feb 01 2001 - 11:30:35 EST

On Thu, 1 Feb 2001, Stephen C. Tweedie wrote:
> Hi,
> On Thu, Feb 01, 2001 at 10:25:22AM +0530, wrote:
> >
> > Being able to track the children of a kiobuf would help with I/O
> > cancellation (e.g. to pull sub-ios off their request queues if I/O
> > cancellation for the parent kiobuf was issued). Not essential, I guess, in
> > general, but useful in some situations.
> What exactly is the justification for IO cancellation? It really
> upsets the normal flow of control through the IO stack to have
> voluntary cancellation semantics.
XFS does something called a "forced shutdown" of the filesystem in which
it requires outstanding I/Os issued against file data to be cancelled.
This is triggered by (among other things) errors in writing out file
metadata. I'm cc'ing Steve Lord so he can provide more information.

Of course, I was thinking along the lines of an API flushing the requests
out of the elevator at that time .... didn't get too far with it though.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:13 EST