From: Alex Elder Date: Fri, 15 Feb 2013 17:42:30 +0000 (-0600) Subject: libceph: report defined but unsupported osd ops X-Git-Tag: v3.9-rc1~41^2~21^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c46459cae3b945e6e167f3f3a12b68f55cc5937;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed