ceph: fix pg pool decoding from incremental osdmap update
authorSage Weil <sage@newdream.net>
Wed, 17 Mar 2010 17:05:28 +0000 (10:05 -0700)
committerSage Weil <sage@newdream.net>
Tue, 23 Mar 2010 14:46:57 +0000 (07:46 -0700)
commitefd7576b2392cc5a0934352936d793e8884c46bf
tree4a45863267977b47b6e712987119af8a0a9a8581
parent80fc7314a7e26e8d2e4ba5b3d8cc2d4aeb750015
ceph: fix pg pool decoding from incremental osdmap update

The incremental map decoding of pg pool updates wasn't skipping
the snaps and removed_snaps vectors.  This caused osd requests
to stall when pool snapshots were created or fs snapshots were
deleted.  Use a common helper for full and incremental map
decoders that decodes pools properly.

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