]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite27a7e2c8e9145d252ad9f45935aa348dc38e62e
tree4a45863267977b47b6e712987119af8a0a9a8581
parent6d5a4fbf72ab70a36f3309b9261d88d457b4f5df
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