Btrfs: pretend page cache & commit code
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
committed by
David Woodhouse
parent
79f95c82dc
commit
ed2ff2cba7
@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user