[PATCH v6 01/10] scatterlist: add sg_zeroout_area() helper
Johannes Thumshirn
jthumshirn at suse.de
Thu Jun 8 00:46:05 PDT 2017
On 06/08/2017 09:41 AM, Christoph Hellwig wrote:
>> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
>> void *buf, size_t buflen, off_t skip);
>>
>> +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents,
>> + size_t buflen, off_t skip);
>
> Maybe sg_zero_buffer to fit with the other functions in the family?
>
> (I'd be happy to fix this up if you're ok and we don't need another
> respin otherwise).
Sounds good.
--
Johannes Thumshirn Storage
jthumshirn at suse.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
More information about the Linux-nvme
mailing list