From fdbcbd2537eaa9a11c586a3ab6cb39ed1f1c64b3 Mon Sep 17 00:00:00 2001 From: sage Date: Fri, 24 Feb 2006 20:10:29 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@674 29311d96-e01e-0410-9327-a35deaab8ce9 --- ceph/client/Client.h | 4 ++-- ceph/client/ldceph.cc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ceph/client/Client.h b/ceph/client/Client.h index 31bed051a9f..b8fd8cd7119 100644 --- a/ceph/client/Client.h +++ b/ceph/client/Client.h @@ -214,7 +214,7 @@ class Inode { int pick_replica(MDCluster *mdcluster) { // replicas? if (dir_contacts.size()) { - cout << "dir_contacts if " << dir_contacts << endl; + //cout << "dir_contacts if " << dir_contacts << endl; set::iterator it = dir_contacts.begin(); if (dir_contacts.size() == 1) return *it; @@ -226,7 +226,7 @@ class Inode { } if (dir_replicated) { - cout << "num_mds is " << mdcluster->get_num_mds() << endl; + //cout << "num_mds is " << mdcluster->get_num_mds() << endl; return rand() % mdcluster->get_num_mds(); // huh.. pick a random mds! } else diff --git a/ceph/client/ldceph.cc b/ceph/client/ldceph.cc index 1f29bfa3810..26af7fc44ef 100644 --- a/ceph/client/ldceph.cc +++ b/ceph/client/ldceph.cc @@ -114,7 +114,7 @@ public: } } } - cout << "refresh_cwd '" << cwd << "', above=" << cwd_above_mp << ", in=" << cwd_in_mp << endl; + //cout << "refresh_cwd '" << cwd << "', above=" << cwd_above_mp << ", in=" << cwd_in_mp << endl; } @@ -142,7 +142,7 @@ public: int r = client->mount(); if (r < 0) { // failure - cerr << "ld ceph init: mount failed " << r << endl; + cerr << "ldceph init: mount failed " << r << endl; delete client; client = 0; } else { @@ -154,7 +154,7 @@ public: fp_mount_point = mount_point; - cerr << "ldceph mounted on " << mount_point << " as " << client->get_myaddr() << endl; + cerr << "ldceph init: mounted on " << mount_point << " as " << client->get_myaddr() << endl; refresh_cwd(); }