diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-09 09:23:21 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:59 -0400 |
commit | 21ad10cf3e9c1ef42e725e5c3a593c49f779a16b (patch) | |
tree | 94eaa869bd3af0329ce3d5ed74d63f041c39dc5c /fs/btrfs/ctree.h | |
parent | bcd987feefe8da66bc59b4e6bd51761a9820588c (diff) |
Btrfs: Add flush barriers on commit
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 7eda51542d17..0c0edacbc14c 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -440,8 +440,9 @@ struct btrfs_root { | |||
440 | */ | 440 | */ |
441 | #define BTRFS_STRING_ITEM_KEY 253 | 441 | #define BTRFS_STRING_ITEM_KEY 253 |
442 | 442 | ||
443 | #define BTRFS_MOUNT_NODATASUM 0x1 | 443 | #define BTRFS_MOUNT_NODATASUM (1 << 0) |
444 | #define BTRFS_MOUNT_NODATACOW 0x2 | 444 | #define BTRFS_MOUNT_NODATACOW (1 << 1) |
445 | #define BTRFS_MOUNT_NOBARRIER (1 << 2) | ||
445 | 446 | ||
446 | #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) | 447 | #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) |
447 | #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) | 448 | #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) |