Messages in this thread | | | Date | Mon, 11 Feb 2002 12:09:23 +0100 | From | Jens Axboe <> | Subject | Re: patch: aio + bio for raw io |
| |
On Fri, Feb 08 2002, Benjamin LaHaise wrote: > > And also, currently BIO_MAX_SIZE is only 64K. Infact, if I try to issue > > 64K IO using submit_bio(), I get following BUG() on my QLOGIC controller. > > Jens? Also, why does the bio callback return a value? Nothing could ever > possibly use it as far as I can see.
WRT max size, Linus already replied why this is so. The other thing -- the callback return value was really to have it return 'done or not' when doing partial completions. It was later decided that the end_io callback should only be called for final completion, so really the nr_sectors and return value is not used now. I'll clean that up next time around.
-- Jens Axboe
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |