Re: [PATCH v6 0/4] SCT Write Same

From: Tejun Heo
Date: Thu Aug 25 2016 - 11:29:25 EST


Hello,

On Sun, Aug 21, 2016 at 11:23:17PM -0500, Shaun Tancheff wrote:
> At some point the method of issuing Write Same for ATA drives changed.
> Currently write same is commonly available via SCT so expose the SCT
> capabilities and use SCT Write Same when it is available.
>
> This is useful for zoned based media that prefers to support discard
> with lbprz set, aka discard zeroes data by mapping discard operations to
> reset write pointer operations. Conventional zones that do not support
> reset write pointer can still honor the discard zeroes data by issuing
> a write same over the zone.
>
> It may also be nice to know if various controllers that currently
> disable WRITE SAME will work with the SCT Write Same code path:
> aacraid, arcmsr, megaraid, 3w-9xxx, 3w-sas, 3w-xxxx, gdth, hpsa, ips,
> megaraid, pmcraid, storvsc_drv

Applied 1-4 to libata/for-4.9.

Thanks.

--
tejun