Re: memcpy() avoidance using decode(bufferlist)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the tips Casey!

On Fri, 22 Apr 2016 14:05:15 -0400, Casey Bodley wrote:

> This append_buffer is not 
> currently exposed by the interface, but if there was a way to provide 
> your own buffer::ptr from buffer::create_static(), you could 
> hypothetically use that to avoid the copy.

That's a pity. In that case, I guess I'll keep the extra memcpy until
there's an API to directly provide the bufferlist destination buffer
here.

Cheers, David
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux