Re: Distributed storage.

From
Jens Axboe <hidden>
Date
2007-08-13 07:45:30
Also in
linux-fsdevel, lkml
Reply to
Jens Axboe, 2007-08-13
On Mon, Aug 13 2007, Jens Axboe wrote:
quoted
You did not comment on the one about putting the bio destructor in 
the ->endio handler, which looks dead simple.  The majority of cases 
just use the default endio handler and the default destructor.  Of the 
remaining cases, where a specialized destructor is needed, typically a 
specialized endio handler is too, so combining is free.  There are few 
if any cases where a new specialized endio handler would need to be 
written.
We could do that without too much work, I agree.
But that idea fails as well, since reference counts and IO completion
are two completely seperate entities. So unless end IO just happens to
be the last user holding a reference to the bio, you cannot free it.

-- 
Jens Axboe
Thread (75 messages) 75 messages, 7 authors, last reply 2007-08-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help