aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorSage Weil <[email protected]>2014-08-04 14:01:54 +0000
committerIlya Dryomov <[email protected]>2014-09-10 16:08:32 +0000
commit73c3d4812b4c755efeca0140f606f83772a39ce4 (patch)
treea48b5e28464f191b764d4b3930e6919a2cf8b405 /lib/assoc_array.c
parentrbd: fix error return code in rbd_dev_device_setup() (diff)
downloadkernel-73c3d4812b4c755efeca0140f606f83772a39ce4.tar.gz
kernel-73c3d4812b4c755efeca0140f606f83772a39ce4.zip
libceph: gracefully handle large reply messages from the mon
We preallocate a few of the message types we get back from the mon. If we get a larger message than we are expecting, fall back to trying to allocate a new one instead of blindly using the one we have. CC: [email protected] Signed-off-by: Sage Weil <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions