]> Pileus Git - ~andy/linux/commit
ceph: use ceph_pagelist for mds reconnect message; change encoding (protocol change)
authorSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 20:21:51 +0000 (12:21 -0800)
committerSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 20:21:51 +0000 (12:21 -0800)
commit93cea5bebf91319095db866163a7e35c3e77d8f2
tree31fbe2ddbcf2d510535b1eb5dd227bb13ce0d5d0
parent58bb3b374b07a2a43315213f00a48a5ffd6d0915
ceph: use ceph_pagelist for mds reconnect message; change encoding (protocol change)

Use the ceph_pagelist to encode the MDS reconnect message.  We change the
message encoding (protocol change!) at the same time to make our life
easier (we don't know how many snaprealms we have when we start encoding).

An empty message implies the session is closed/does not exist.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ceph_fs.h
fs/ceph/mds_client.c