]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 19 May 2011 18:30:23 +0000 (11:30 -0700)
commitb71622e7f92a491da4f48b63c7bf8016a883b7cd
tree0b3411bca98243431e77f5267bb3952a5cba1ea3
parent4d99c0275f26228389de30acac9204838f46c72d
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