Re: [PATCH] Add support for SCT Write Same

2016-06-09 Thread Shaun Tancheff
On Wed, Jun 8, 2016 at 10:39 PM, Martin K. Petersen wrote: > > > "Shaun" == Shaun Tancheff writes: > > Shaun, > > Shaun> SATA drives may support write same via SCT. This is useful for > Shaun> setting the drive contents to a specific pattern

Re: [PATCH] Add support for SCT Write Same

2016-06-08 Thread Martin K. Petersen
> "Shaun" == Shaun Tancheff writes: Shaun, Shaun> SATA drives may support write same via SCT. This is useful for Shaun> setting the drive contents to a specific pattern (0's). index 428c03e..c5c8424 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -52,6 +52,7

[PATCH] Add support for SCT Write Same

2016-06-06 Thread Shaun Tancheff
SATA drives may support write same via SCT. This is useful for setting the drive contents to a specific pattern (0's). Signed-off-by: Shaun Tancheff --- drivers/ata/libata-scsi.c | 31 + drivers/scsi/sd.c | 25 +++-