From: Sage Weil Date: Tue, 26 Apr 2011 19:10:33 +0000 (-0700) Subject: osd: include (some) osd op flags in MOSDOp print method X-Git-Tag: v0.27.1~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=896de0ac9481ef1418cc7022f30d7263537f4368;p=ceph.git osd: include (some) osd op flags in MOSDOp print method Signed-off-by: Sage Weil --- diff --git a/src/messages/MOSDOp.h b/src/messages/MOSDOp.h index 2e97666298fee..ca1d9db56ddc4 100644 --- a/src/messages/MOSDOp.h +++ b/src/messages/MOSDOp.h @@ -349,6 +349,16 @@ struct ceph_osd_request_head { if (is_retry_attempt()) out << " RETRY"; if (get_snap_seq()) out << " snapc " << get_snap_seq() << "=" << snaps; + if (get_flags() & CEPH_OSD_FLAG_ORDERSNAP) + out << " ordersnap"; + if (get_flags() & CEPH_OSD_FLAG_BALANCE_READS) + out << " balance_reads"; + if (get_flags() & CEPH_OSD_FLAG_PARALLELEXEC) + out << " parallelexec"; + if (get_flags() & CEPH_OSD_FLAG_LOCALIZE_READS) + out << " localize_reads"; + if (get_flags() & CEPH_OSD_FLAG_RWORDERED) + out << " rwordered"; out << ")"; } };