lkml.org 
[lkml]   [2012]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [dm-devel] [PATCH 02/13] dm: kill dm_rq_bio_destructor
On Fri, May 18, 2012 at 08:57:29AM -0700, Tejun Heo wrote:
> Please explain why this is done and how it's safe. Alasdair / dm
> folks, can you please ack this?

I think it's relying on there being never more than one reference on those
bios so that that endio fn, called exactly once, always frees it and there
are no dm_puts elsewhere.

Alasdair



\
 
 \ /
  Last update: 2012-05-18 20:01    [W:3.053 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site