summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2013-12-13 10:41:51 -0500
committerChris Mason <clm@fb.com>2014-01-28 13:19:54 -0800
commit34b41acec1ccc06373ec584de19618d48ceb09fc (patch)
treec6fbf417b2b8441279eac4f7fbba731c51f205c5 /fs/btrfs/extent_io.h
parenta5dee37d390f3713f06e286a33b262f0fdb2b0ff (diff)
downloadop-kernel-dev-34b41acec1ccc06373ec584de19618d48ceb09fc.zip
op-kernel-dev-34b41acec1ccc06373ec584de19618d48ceb09fc.tar.gz
Btrfs: use a bit to track if we're in the radix tree
For creating a dummy in-memory btree I need to be able to use the radix tree to keep track of the buffers like normal extent buffers. With dummy buffers we skip the radix tree step, and we still want to do that for the tree mod log dummy buffers but for my test buffers we need to be able to remove them from the radix tree like normal. This will give me a way to do that. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 19620c5..92e4347 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -43,6 +43,7 @@
#define EXTENT_BUFFER_WRITEBACK 7
#define EXTENT_BUFFER_IOERR 8
#define EXTENT_BUFFER_DUMMY 9
+#define EXTENT_BUFFER_IN_TREE 10
/* these are flags for extent_clear_unlock_delalloc */
#define PAGE_UNLOCK (1 << 0)
OpenPOWER on IntegriCloud