]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: return ENOSPC on write ops while osds full
authorJohn Spray <john.spray@redhat.com>
Wed, 1 Oct 2014 22:01:35 +0000 (23:01 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 16 Dec 2014 20:51:49 +0000 (20:51 +0000)
commitfc7d62a17ce0fd83924e1e523278f59cc527fbd6
treef62c8c280e657ed2dbac43f39927c9f82b8d2129
parent09287fd666a5225b1b53ffef29ab6428d547bb48
mds: return ENOSPC on write ops while osds full

Allow removals and read-only ops, prevent others.  This
is a soft policy aimed at reducing the likelihood of a
"full" (mon_osd_full_ratio) OSD becoming physically full
(where it is unable to accept journal writes from MDS
even though it does not respect the FULL flag)

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDS.cc
src/mds/Server.cc
src/mds/Server.h