]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: reset front len on return to msgpool; BUG on mismatched front iov
authorSage Weil <sage@newdream.net>
Mon, 1 Mar 2010 23:25:00 +0000 (15:25 -0800)
committerSage Weil <sage@newdream.net>
Mon, 1 Mar 2010 23:30:55 +0000 (15:30 -0800)
commit62bc784b2eb32e4a13148a4b6970360fc5d5240e
treeff77a0b27802f990d541ec29af7afdbc57156a01
parentb0f3fca0909871d0cbecae5aea63f62a04106d7e
ceph: reset front len on return to msgpool; BUG on mismatched front iov

Reset msg front len when a message is returned to the pool: the caller
may have changed it.

BUG if we try to send a message with a hdr.front_len that doesn't match
the front iov.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c
fs/ceph/msgpool.c