[dm-devel] [RFC 1/2] block: implement an unprep function corresponding directly to prep
Jens Axboe
axboe at kernel.dk
Wed Jun 30 17:51:14 UTC 2010
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.
This is so much better than the other hacks, thanks for doing this.
--
Jens Axboe
More information about the dm-devel
mailing list