Messages in this thread | | | Date | Thu, 8 Sep 2005 15:19:29 +0200 | From | Jens Axboe <> | Subject | Re: Reuse of BIOs |
| |
On Thu, Sep 08 2005, David Howells wrote: > > Hi Jens, > > Is it possible to reuse a BIO once the callback on it has been invoked to > indicate final completion? Or does it have to be released and another one > allocated?
If you reuse it indefinitely, you violate the principles that make the mempool work. So the answer is 'yes' if you only reuse it a little, 'no' if you want to hang on to it forever.
-- 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/
| |