]> git.baikalelectronics.ru Git - kernel.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>
Tue, 24 May 2011 18:52:11 +0000 (11:52 -0700)
commite9a129f953564cc428a94298663ea49d8fd0fc36
tree7f0213063830d24d77a1ad0a6a9abfa4f83a5d7d
parent19a595ef6636cb6bb4f05f83fec2807223acbacc
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