diff options
author | Sage Weil <sage@newdream.net> | 2009-04-02 16:49:40 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-04-02 16:49:40 -0400 |
commit | 3a5e14048a0a81276d284cbda441507a17e26147 (patch) | |
tree | 42464c2455216b008bf27c13496d001bb85d3564 /fs/btrfs/ctree.h | |
parent | a9572a15a854bd40453a6b7b4dd9d29132f64c64 (diff) | |
download | lwn-3a5e14048a0a81276d284cbda441507a17e26147.tar.gz lwn-3a5e14048a0a81276d284cbda441507a17e26147.zip |
Btrfs: notreelog mount option
Add a 'notreelog' mount option to disable the tree log (used by fsync,
O_SYNC writes). This is much slower, but the tree logging produces
inconsistent views into the FS for ceph.
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index b82931f97ef3..1e99a9948637 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1036,6 +1036,7 @@ struct btrfs_root { #define BTRFS_MOUNT_SSD (1 << 3) #define BTRFS_MOUNT_DEGRADED (1 << 4) #define BTRFS_MOUNT_COMPRESS (1 << 5) +#define BTRFS_MOUNT_NOTREELOG (1 << 6) #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) |