On Fri, 2008-08-22 at 11:24 +0200, Jens Axboe wrote: > I agree with that, the thought did cross my mind earlier as well. I > committed something like the below (in two patches). But there _are_ limits on how many sectors can be discarded in a single operation. For ATA 'Trim' I think it's 65536? Do we want to force the drivers to translate a single request into multiple actual commands? I suspect we need a separate 'max_discard_sectors' field. -- David Woodhouse Open Source Technology Centre David.Woodhouse@xxxxxxxxx Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html