On Fri, Aug 22 2008, David Woodhouse wrote: > 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? Hmm right, I guess the sector limit in the command of course still applies. > I suspect we need a separate 'max_discard_sectors' field. No, that is what max_hw_sectors is for. -- Jens Axboe -- 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