commit | 4c46459cae3b945e6e167f3f3a12b68f55cc5937 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Fri Feb 15 11:42:30 2013 -0600 |
committer | Alex Elder <elder@inktank.com> | Mon Feb 18 12:20:22 2013 -0600 |
tree | c94c7736f781c7807915fbe9d50d4277ed239c4b | |
parent | 2979ddb11befcd757a6ab5a04fad9e264560385b [diff] |
libceph: report defined but unsupported osd ops If osd_req_encode_op() is given any opcode it doesn't recognize it reports an error. This patch fleshes out that routine to distinguish between well-defined but unsupported values and values that are simply bogus. This and the next commit are related to: http://tracker.ceph.com/issues/4126 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>