diff options
author | 2016-08-21 23:23:19 -0500 | |
---|---|---|
committer | 2016-08-25 11:26:48 -0400 | |
commit | 7b20309428598df00ffeb0b01f5948dea6aaf1f7 (patch) | |
tree | 101fa3f176dc5f3829e000852913a514a7fa068c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libata: Safely overwrite attached page in WRITE SAME xlat (diff) | |
download | linux-dev-7b20309428598df00ffeb0b01f5948dea6aaf1f7.tar.xz linux-dev-7b20309428598df00ffeb0b01f5948dea6aaf1f7.zip |
libata: Add support for SCT Write Same
SATA drives may support write same via SCT. This is useful
for setting the drive contents to a specific pattern (0's).
Translate a SCSI WRITE SAME 16 command to be either a DSM TRIM
command or an SCT Write Same command.
Based on the UNMAP flag:
- When set translate to DSM TRIM
- When not set translate to SCT Write Same
Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions