Re: Reuse of BIOs

2005-09-08 Thread Fawad Lateef
On 9/8/05, David Howells <[EMAIL PROTECTED]> wrote: > > > 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? > The thing which I did in my virtual caching device driver is I keeps the

Re: Reuse of BIOs

2005-09-08 Thread Jens Axboe
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 mem