]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
objecter: don't resend paused ops
authorJosh Durgin <josh.durgin@inktank.com>
Wed, 6 Nov 2013 02:46:37 +0000 (10:46 +0800)
committerSage Weil <sage@inktank.com>
Mon, 30 Dec 2013 16:49:21 +0000 (08:49 -0800)
commita3fdfd77c953a8f9ace4991630599e60f56abc4a
treeaa8af4f481941f832585dd2260898f2300f7db09
parent78037886ae6ae278d8fb2db52d7767b8612313fe
objecter: don't resend paused ops

Paused ops are meant to block on the client side until a new map that
unpauses them is recieved. If we send paused writes when the FULL flag
is set, we'll get -ENOSPC from the osds, which is not what Objecter
users expect. This may cause rbd without caching to produce an I/O
error instead of waiting for the cluster to have capacity.

Fixes: #6725
Backport: dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
(cherry picked from commit c5c399d327cfc0d232d9ec7d49ababa914d0b21a)
src/osdc/Objecter.cc