From: Samuel Just Date: Mon, 1 Apr 2013 23:20:13 +0000 (-0700) Subject: PG::_scan_list: assert if error is neither -EIO nor -ENOENT X-Git-Tag: v0.62~113^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F181%2Fhead;p=ceph.git PG::_scan_list: assert if error is neither -EIO nor -ENOENT Signed-off-by: Samuel Just --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 6ad0769518f5..90cfb5dff2d1 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3208,6 +3208,9 @@ void PG::_scan_list(ScrubMap &map, vector &ls, bool deep) dout(25) << "_scan_list " << poid << " got " << r << ", read_error" << dendl; ScrubMap::object &o = map.objects[poid]; o.read_error = true; + } else { + derr << "_scan_list got: " << cpp_strerror(r) << dendl; + assert(0); } } }