]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: add FULL_TRY and FULL_FORCE rados op flags
authorSage Weil <sage@redhat.com>
Thu, 24 Sep 2015 22:40:51 +0000 (18:40 -0400)
committerSage Weil <sage@redhat.com>
Thu, 24 Sep 2015 23:02:56 +0000 (19:02 -0400)
commit95055e70ffbbe8a96ab4916840183438ff8b59db
tree6886a4c5c28364acb61b91514841d0c1333b99c8
parent6f11b82f3007819b58f143ad4b4911c4fb766ab9
osd: add FULL_TRY and FULL_FORCE rados op flags

FULL_TRY = try to do the op; ENOSPC if it results in a net increase is
space.  client must cope.

FULL_FORCE = do the op even if it consumes space.  The MDS will use this.
We should restrict this based on the OSD cap (* vs w, probably).

Signed-off-by: Sage Weil <sage@redhat.com>
src/include/rados.h
src/osd/osd_types.cc