On Tue, Feb 06, 2001 at 12:07:04AM +0000, Stephen C. Tweedie wrote: > This is the current situation. If the page cache submits a 64K IO to > the block layer, it does so in pieces, and then expects to be told on > return exactly which pages succeeded and which failed. > > That's where the mess of having multiple completion objects in a > single IO request comes from. Can we just forbid this case? > > That's the short cut that SGI's kiobuf block dev patches do when they > get kiobufs: they currently deal with either buffer_heads or kiobufs > in struct requests, but they don't merge kiobuf requests. IIRC Jens Axboe has done some work on merging kiobuf-based requests. > (XFS already clusters the IOs for them in that case.) > > Is that a realistic basis for a cleaned-up ll_rw_blk.c? I don't think os. If we minimize the state in the IO container object, the lower levels could split them at their guess and the IO completion function just has to handle the case that it might be called for a smaller object. Christoph -- Of course it doesn't work. We've performed a software upgrade. Whip me. Beat me. Make me maintain AIX. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Alan Cox
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Stephen C. Tweedie
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Alan Cox
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Alan Cox
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Stephen C. Tweedie
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... David Lang
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Alan Cox
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Stephen C. Tweedie
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Christoph Hellwig
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Stephen C. Tweedie
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Jens Axboe
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Christoph Hellwig
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Stephen C. Tweedie
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Ben LaHaise
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Jens Axboe
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Ben LaHaise
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Jens Axboe
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... Andi Kleen