[dm-devel] [RFC 1/2] block: implement an unprep function corresponding directly to prep

Mike Snitzer snitzer at redhat.com
Wed Jun 30 17:23:09 UTC 2010


On Wed, Jun 30 2010 at  1:01pm -0400,
James Bottomley <James.Bottomley at suse.de> wrote:

> So this is more directly what I'm thinking.  It gives us an exactly
> correct place to hang the discard allocation in SCSI.  The next patch
> shows a potential implementation in sd.
> 
> I think it should avoid all the leaks people have been seeing trying to
> move the discard allocation/free into scsi.  I also think it should
> facilitate sending discard through SCSI as a REQ_TYPE_FS.

Thanks james!

I'll look to take this template and layer in Christoph's approach to
pushing the page allocation down into SCSI.

I'll also look at Tomo's REQ_TYPE_FS changes for discard.

I'll report back as soon as I have something.

Mike




More information about the dm-devel mailing list