*** empty log message ***

git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@733 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
sage 2006-04-05 01:43:37 +00:00
parent 241cfed57a
commit ae3562ea5e

View File

@ -361,7 +361,7 @@ int Ebofs::commit_thread_entry()
dirty = true;
}
if (!dirty) {
if (!dirty && !limbo_blocks) {
dout(10) << "commit_thread not dirty" << endl;
}
else {
@ -1213,8 +1213,8 @@ int Ebofs::statfs(struct statfs *buf)
buf->f_type = EBOFS_MAGIC; /* type of filesystem */
buf->f_bsize = 4096; /* optimal transfer block size */
buf->f_blocks = dev.get_num_blocks(); /* total data blocks in file system */
buf->f_bfree = get_free_blocks() + get_limbo_blocks(); /* free blocks in fs */
buf->f_bavail = get_free_blocks() + get_limbo_blocks(); /* free blocks avail to non-superuser */
buf->f_bfree = get_free_blocks();// + get_limbo_blocks(); /* free blocks in fs */
buf->f_bavail = get_free_blocks();// + get_limbo_blocks(); /* free blocks avail to non-superuser */
buf->f_files = nodepool.num_total(); /* total file nodes in file system */
buf->f_ffree = nodepool.num_free(); /* free file nodes in fs */
//buf->f_fsid = 0; /* file system id */