On Fri, Oct 30 2009, Christoph Hellwig wrote: > On Thu, Oct 29, 2009 at 08:06:59PM +0100, Jens Axboe wrote: > > On Thu, Oct 29 2009, Christoph Hellwig wrote: > > > To properly support discard on SCSI Arrays we need to take the discard > > > granularity and the first aligned discard LBA into account. This patch > > > adds block limits for both of them, and trims down dicard requests to fit > > > into these limits in blkdev_issue_discard. We also make sure the alignment > > > offset is properly adjust for partitions and add sysfs files to expose > > > the limits to userspaced. > > > > Except for a few typos, this looks good to me. I'll add it for 2.6.33. > > It would be good if we could queue up this (or mkp's version) with the > sd bits through the scsi tree - otherwise getting testing for the whole > stack will be a pain. Sure, fine with me. Feel free to add my acked-by. -- Jens Axboe -- 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