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

Martin K. Petersen martin.petersen at oracle.com
Wed Jun 30 17:54:46 UTC 2010


>>>>> "Jens" == Jens Axboe <axboe at kernel.dk> writes:

Jens> On 30/06/10 19.01, James Bottomley 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.

Jens> This is so much better than the other hacks, thanks for doing
Jens> this.

Agreed!

-- 
Martin K. Petersen	Oracle Linux Engineering




More information about the dm-devel mailing list