On Wed, Jun 30 2010 at 1:01pm -0400, James Bottomley <James.Bottomley@xxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html