Skip to contentSkip to conversation

"ceph osd map" pointer to the code

DISCUSSION Sébastien Han 2 participants 3 messages Sep 24, 2013

lore
Share & tools
lore
#0 lore raw

Hi guys,

Does anyone can point me to the piece of code called during the “ceph osd map ‘pool’ ‘object’” command please? Thanks!

––––
Sébastien Han
Cloud Engineer

"Always give 100%. Unless you're giving blood.”

Phone: +33 (0)1 49 70 99 72
Mail: [email protected]
Address : 10, rue de la Victoire - 75009 Paris
Web : www.enovance.com - Twitter : @enovance
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 4 lines · Sébastien Han

Hi guys,

Does anyone can point me to the piece of code called during the “ceph osd map ‘pool’ ‘object’” command please? Thanks!

$ git grep -n 'osd map' src/mon
src/mon/MonCommands.h:338:COMMAND("osd map " \
src/mon/OSDMonitor.cc:2093:  } else if (prefix == "osd map") {

You'll want the second hit, on src/mon/OSDMonitor.cc

-Joao

Signature · 6 lines
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Thanks Joao.

––––
Sébastien Han
Cloud Engineer

"Always give 100%. Unless you're giving blood.”

Phone: +33 (0)1 49 70 99 72
Mail: [email protected]
Address : 10, rue de la Victoire - 75009 Paris
Web : www.enovance.com - Twitter : @enovance

On September 24, 2013 at 3:07:52 PM, Joao Eduardo Luis ([email protected]) wrote:

Quoted 4 lines · Sébastien Han

Hi guys,

Does anyone can point me to the piece of code called during the “ceph osd map ‘pool’ ‘object’” command please? Thanks!

$ git grep -n 'osd map' src/mon  
src/mon/MonCommands.h:338:COMMAND("osd map " \  
src/mon/OSDMonitor.cc:2093: } else if (prefix == "osd map") {  

You'll want the second hit, on src/mon/OSDMonitor.cc

-Joao

Signature · 6 lines
Joao Eduardo Luis  
Software Engineer | http://inktank.com | http://ceph.com
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html