From: Sage Weil Date: Thu, 2 Jan 2014 18:48:57 +0000 (-0800) Subject: ceph_test_rados: flush can also fail due to snap trimming X-Git-Tag: v0.77~22^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d00116c6ac23c16389a22c01a473ad4ced259091;p=ceph.git ceph_test_rados: flush can also fail due to snap trimming Signed-off-by: Sage Weil --- diff --git a/src/test/osd/RadosModel.h b/src/test/osd/RadosModel.h index c24dd23181b..2f24d274475 100644 --- a/src/test/osd/RadosModel.h +++ b/src/test/osd/RadosModel.h @@ -1813,6 +1813,9 @@ public: // not being particularly specific here about knowing which // flushes are on the oldest clean snap and which ones are not. can_fail = !blocking || !context->snaps.empty(); + // FIXME: we can could fail if we've ever removed a snap due to + // the async snap trimming. + can_fail = true; cout << num << ": " << (blocking ? "cache_flush" : "cache_try_flush") << " oid " << oid << " snap " << snap << std::endl;