Re: bufferlist-free seastar osd?

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

 



Hey Noah,

On 11/29/18 5:31 PM, Noah Watkins wrote:
Potentially stupid question... if there exists a buffer container that
can work in the new data path _without reference counting_, why not
create a bufferlist super class that doesn't do reference counting?

buffer::list is a list of buffer::ptr, which is a ref-counted smart pointer that wraps a buffer segment derived from buffer::raw, which itself contains the std::atomic<unsigned> nref. buffer::ptr is a major part of buffer::list's interface, so it would be difficult for a class derived from buffer::list to do away with ptr and its reference counting.




[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