*** empty log message ***

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@674 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sage 2006-02-24 20:10:29 +00:00
parent 9dfbe32817
commit fdbcbd2537
2 changed files with 5 additions and 5 deletions

View File

@ -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<int>::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

View File

@ -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();
}