Btrfs: pretend page cache & commit code

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-03-01 18:59:40 -05:00
committed by David Woodhouse
parent 79f95c82dc
commit ed2ff2cba7
5 changed files with 558 additions and 28 deletions

View File

@ -1,6 +1,8 @@
#ifndef __CTREE__
#define __CTREE__
#include "list.h"
#define CTREE_BLOCKSIZE 1024
/*
@ -53,6 +55,9 @@ struct ctree_root {
struct key current_insert;
int fp;
struct radix_tree_root cache_radix;
struct list_head trans;
struct list_head cache;
int cache_size;
};
/*