]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: exceptions derive from std::system_error now.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 31 Jul 2019 17:38:30 +0000 (19:38 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 23 Aug 2019 23:27:44 +0000 (01:27 +0200)
commit2407f576ef6b48285972243a84b247292badd2c1
tree84b6cebff286133897a52b178bb328fe9726d535
parenta9c29ae5ac1625d4f51b75982ab7d1305bae95d1
crimson/osd: exceptions derive from std::system_error now.

This change is be useful especially for CEPH_OSD_OP_CALL
which will be brought by further commits. The issue here
is that the Ceph Classes will be based on existing iface
handling errors with usual, int-based ret codes. These
codes needs to be glued with the existing handling  in
pg::do_osd_ops().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/exceptions.h
src/crimson/osd/pg.cc