On 05/04/2009 01:47 AM, Jeff Garzik wrote: > James Bottomley wrote: >> The ideal for REQ_TYPE_DISCARD seems to be to force a page allocation >> tied to a bio when it's issued at the top. That way everyone has enough >> memory when it comes down the stack (both extents and WRITE SAME sector >> will fit into a page ... although only just for WRITE SAME on 4k >> sectors). > > Makes sense... > > Jeff > I second that, let the allocator of the request supply a buffer and free it on return/done. Perhaps with a general helper that does all that. Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html