On Mon, 23 Nov 2015, Robert LeBlanc wrote: > Thanks for the log dump command, I'll keep that in the back pocket, it > would have been helpful in a few situations. > > I'm trying to microbenchmark the new Weighted Round Robin queue I've > been working on and just trying to dump the info to the logs so that I > can see it at runtime. So this is in a branch that isn't published > yet. > > In file included from osd/OSD.cc:37:0: > osd/OSD.h: In member function ?virtual void > OSD::ShardedOpWQ::_process(uint32_t, ceph::heartbeat_handle_d*)?: > osd/OSD.h:1072:7: error: invalid use of non-static data member ?OSD::whoami? > int whoami; > ^ > osd/OSD.cc:8270:388: error: from this location > dout(15) << "Wrr (" << dendl; #undef #define dout_prefix *_dout << "something: " (whatever dout_perfix currently is for this code includes whoami... you're probably in a class other than OSD but still in OSD.cc.. move it to a different .cc file, or put it above the current class OSD stuff. sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html