On Sat, Aug 29, 2009 at 10:52:59PM -0400, Mark Lord wrote: >> That depends on the firmware. I do have plans to group the extents, >> but let's get something working before making it quick. > .. > > In this situation, it's more a case of making it *not sucky slow* > than getting to the point where we think about making it "quick". > > One extent at a time is glacial. Really depends on the use case. With XFS you will only have very few free space extents per AG, so it should work reasonably well for the batched "offline" discard in my last patch. And for SCSI arrays that can actually process other I/O during that time the WRITE SAME is in progress it should not be that bad. But so far this is all a lot of talk of course until I can actually work against real hardware. -- 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