]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
buffer: alloc right-sized buffer from read_fd
authorSage Weil <sage@redhat.com>
Wed, 10 Feb 2016 22:51:18 +0000 (17:51 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Mar 2016 13:47:29 +0000 (08:47 -0500)
commitce3e5a334798a6eff8b4cb99d99b6efc00531f97
tree6ac332880208952009b381776e9a6fa9d639ea38
parent73dcd26fc8798e09d93520c583d63edb28ffc631
buffer: alloc right-sized buffer from read_fd

This may as well fit the input; this doesn't relate to the
append buffer.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/buffer.cc