libceph: subscribe to osdmap when cluster is full
authorSage Weil <sage@newdream.net>
Thu, 12 May 2011 16:29:18 +0000 (09:29 -0700)
committerSage Weil <sage@newdream.net>
Tue, 24 May 2011 18:52:11 +0000 (11:52 -0700)
commitcd634fb6eec72ef8e6dd677546b8d0ffdd2501eb
tree7f0213063830d24d77a1ad0a6a9abfa4f83a5d7d
parent7662d8ff57d2b00ce8f7fe0b60a85efbb2c05652
libceph: subscribe to osdmap when cluster is full

When the cluster is marked full, subscribe to subsequent map updates to
ensure we find out promptly when it is no longer full.  This will prevent
us from spewing ENOSPC for (much) longer than necessary.

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