lkml.org 
[lkml]   [2016]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/2] Add support for SCT Write Same
Date
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

\
 
 \ /
  Last update: 2016-08-10 03:41    [W:0.084 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site