Thread (50 messages) 50 messages, 5 authors, 2016-08-25

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

From: Hannes Reinecke <hare@suse.de>
Date: 2016-08-22 06:27:53
Also in: lkml

On 08/22/2016 06:23 AM, Shaun Tancheff wrote:
Safely overwriting the attached page to ATA format from the SCSI formatted
variant.

Signed-off-by: Shaun Tancheff <redacted>
---
v6:
 - Fix bisect bug reported by Tom Yan [off-list ref]
 - Change to use sg_copy_from_buffer as per Christoph Hellwig [off-list ref]
v5:
 - Added prep patch to work with non-page aligned scatterlist pages
   and use kmap_atomic() to lock page during modification.

 drivers/ata/libata-scsi.c | 56 ++++++++++++++++++++++++++++++++++++++++++-----
 include/linux/ata.h       | 26 ----------------------
 2 files changed, 51 insertions(+), 31 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help