ceph: ref counted buffer
struct ceph_buffer is a simple ref-counted buffer. We transparently
choose between kmalloc for small buffers and vmalloc for large ones.
This is currently used only for allocating memory for xattr data.
Signed-off-by: NSage Weil <sage@newdream.net>
Showing
fs/ceph/buffer.c
0 → 100644
fs/ceph/buffer.h
0 → 100644
想要评论请 注册 或 登录