*** empty log message ***

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@584 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sage 2006-02-01 04:06:34 +00:00
parent 791ab530fa
commit 8bf725f74a
9 changed files with 12 additions and 7 deletions

View File

@ -5,10 +5,6 @@ client
- client will re-tx anything it needed to say upon rx of new mds notification (?)
bdev
- multiple io_threads.. need block-range locks
- threads may need to sleep.. need to be woken up, etc..
ebofs
- combine inodes into same blocks
- zero regions?

View File

@ -26,12 +26,12 @@ class utime_t {
// accessors
time_t sec() const { return tv.tv_sec; }
__suseconds_t usec() const { return tv.tv_usec; }
long usec() const { return tv.tv_usec; }
int nsec() const { return tv.tv_usec*1000; }
// ref accessors/modifiers
time_t& sec_ref() { return tv.tv_sec; }
__suseconds_t& usec_ref() { return tv.tv_usec; }
long& usec_ref() { return tv.tv_usec; }
struct timeval& timeval() { return tv; }

View File

@ -304,6 +304,7 @@ namespace crush {
p++; pw++; ps++; // next!
}
assert(0);
return 0;
}
@ -599,6 +600,7 @@ namespace crush {
default:
assert(0);
}
return 0;
}

View File

@ -199,6 +199,7 @@ namespace crush {
}
out << "]";
}
return 0;
}
@ -210,7 +211,7 @@ namespace crush {
return n;
}
int add_item(int parent, int item, float w, bool back=false) {
void add_item(int parent, int item, float w, bool back=false) {
// add item
assert(!buckets[parent]->is_uniform());
Bucket *p = buckets[parent];

View File

@ -149,6 +149,7 @@ class buffer {
// operators
buffer& operator=(buffer& other) {
assert(0); // not implemented, no reasonable assignment semantics.
return *this;
}
char *c_str() {

View File

@ -89,6 +89,7 @@ void CDentry::unlink_remote()
// =
const CDentry& CDentry::operator= (const CDentry& right) {
assert(0); //std::cerr << "copy op called, implement me" << endl;
return *this;
}
// comparisons

View File

@ -105,6 +105,7 @@ class CLock {
default:
assert(0);
}
return 0;
}
// gather set

View File

@ -4583,6 +4583,8 @@ bool MDCache::inode_file_sync(CInode *in)
}
else
assert(0); // wtf.
return false;
}

View File

@ -115,6 +115,7 @@ class FakeStoreAttrs {
int listattr(char *attrs, size_t size) {
assert(0);
return 0;
}
bool empty() { return attrs.empty(); }