Messages in this thread | | | Subject | Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat | From | Hannes Reinecke <> | Date | Mon, 22 Aug 2016 08:27:50 +0200 |
| |
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 <shaun.tancheff@seagate.com> > --- > v6: > - Fix bisect bug reported by Tom Yan <tom.ty89@gmail.com> > - Change to use sg_copy_from_buffer as per Christoph Hellwig <hch@lst.de> > 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)
| |