On Mon, Jan 30 2012 at 7:31pm -0500, Martin K. Petersen <martin.petersen@xxxxxxxxxx> wrote: > From: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx> > > Implement support for WRITE SAME(10) and WRITE SAME(16) in the SCSI disk > driver. ... > diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c > index c691fb5..40946a2 100644 > --- a/drivers/scsi/sd.c > +++ b/drivers/scsi/sd.c ... > +/** > + * sd_setup_write_same_cmnd - write the same data to multiple blocks > + * @sdp: scsi device to operate one > + * @rq: Request to prepare > + * > + * Will issue either WRITE SAME(10) or WRITE SAME(16) depending on > + * preference indicated by target device. > + **/ > +static int sd_setup_write_same_cmnd(struct scsi_device *sdp, struct request *rq) Just a small nit, this should be scsi_setup_write_same_cmnd given we already have: scsi_setup_{discard,flush}_cmnd -- 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