ceph: support ceph_pagelist for message payload
authorSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 20:12:31 +0000 (12:12 -0800)
committerSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 20:12:31 +0000 (12:12 -0800)
The ceph_pagelist is a simple list of whole pages, strung together via
their lru list_head.  It facilitates encoding to a "buffer" of unknown
size.  Allow its use in place of the ceph_msg page vector.

This will be used to fix the huge buffer preallocation woes of MDS
reconnection.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/Makefile
fs/ceph/messenger.c
fs/ceph/messenger.h
fs/ceph/pagelist.c [new file with mode: 0644]
fs/ceph/pagelist.h [new file with mode: 0644]

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge