public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Add support for SCT Write Same
@ 2016-08-10  1:00 Shaun Tancheff
  2016-08-10  1:00 ` [PATCH v5 1/2] Use kmap_atomic when rewriting attached page Shaun Tancheff
  2016-08-10  1:00 ` [PATCH v5 2/2] Add support for SCT Write Same Shaun Tancheff
  0 siblings, 2 replies; 16+ messages in thread
From: Shaun Tancheff @ 2016-08-10  1:00 UTC (permalink / raw)
  To: linux-ide, linux-kernel
  Cc: Shaun Tancheff, Christoph Hellwig, Tejun Heo, Josh Bingaman

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

This patch against v4.8-rc1 is also at 

https://github.com/stancheff/linux/tree/v4.8-rc1+ws.v5

git@github.com:stancheff/linux.git v4.8-rc1+ws.v5

Shaun Tancheff (2):
  Use kmap_atomic when rewriting attached page
  Add support for SCT Write Same

 drivers/ata/libata-scsi.c | 240 ++++++++++++++++++++++++++++++++++++++++------
 include/linux/ata.h       |  69 ++++++++-----
 2 files changed, 252 insertions(+), 57 deletions(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-08-12  1:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10  1:00 [PATCH v5 0/2] Add support for SCT Write Same Shaun Tancheff
2016-08-10  1:00 ` [PATCH v5 1/2] Use kmap_atomic when rewriting attached page Shaun Tancheff
2016-08-10 10:56   ` Tom Yan
2016-08-10 12:26     ` Shaun Tancheff
2016-08-11 14:13   ` Christoph Hellwig
2016-08-10  1:00 ` [PATCH v5 2/2] Add support for SCT Write Same Shaun Tancheff
2016-08-10  6:31   ` Tom Yan
2016-08-10 11:30     ` Tom Yan
2016-08-10 14:34       ` Shaun Tancheff
2016-08-10 16:50         ` Tom Yan
2016-08-10 18:29           ` Shaun Tancheff
2016-08-11  8:04             ` Tom Yan
2016-08-11  1:47           ` Martin K. Petersen
2016-08-11  8:46             ` Tom Yan
2016-08-12  1:18               ` Martin K. Petersen
2016-08-11  1:33         ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox