libata: Some drives failing on SCT Write Same
authorShaun Tancheff <shaun@tancheff.com>
Fri, 9 Sep 2016 16:44:19 +0000 (11:44 -0500)
committerTejun Heo <tj@kernel.org>
Fri, 9 Sep 2016 19:21:21 +0000 (15:21 -0400)
commit0ce1b18c42a5b1613ad84d3bf93ee4f5bb3f8b33
tree667484ca2aa5a79bbac59b10ae996638cd7f11ca
parent0b9e2988ab2261fd6d4a0039edf81ed1e3662be8
libata: Some drives failing on SCT Write Same

Restrict support SCT Write Same to devices which also support ZAC where
support is required.

Reported-by: Mike Krinkin <krinkin.m.u@gmail.com>
Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c