aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2004-08-22 22:38:49 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:38:49 -0700
commiteee1a8c490d985022d284c5fa5ba16dd05b08ee9 (patch)
tree1201eb74a14d2ae42e660d63954eb85d316cd925 /include
parentb63cf84e048ae4d39ba849861d963210be07f2c8 (diff)
downloadhistory-eee1a8c490d985022d284c5fa5ba16dd05b08ee9.tar.gz
[PATCH] ext3 barrier support
Mount with "mount -o barrier=1" to enable barriers. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ext3_fs.h1
-rw-r--r--include/linux/jbd.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h
index 08145159a4aa22..115d49ebc733fe 100644
--- a/include/linux/ext3_fs.h
+++ b/include/linux/ext3_fs.h
@@ -324,6 +324,7 @@ struct ext3_inode {
#define EXT3_MOUNT_NO_UID32 0x2000 /* Disable 32-bit UIDs */
#define EXT3_MOUNT_XATTR_USER 0x4000 /* Extended user attributes */
#define EXT3_MOUNT_POSIX_ACL 0x8000 /* POSIX Access Control Lists */
+#define EXT3_MOUNT_BARRIER 0x10000 /* Use block barriers */
/* Compatibility, for having both ext2_fs.h and ext3_fs.h included at once */
#ifndef _LINUX_EXT2_FS_H
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index dec393a59a04b9..0548bdd7ca81fa 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -840,6 +840,7 @@ struct journal_s
#define JFS_ACK_ERR 0x004 /* The errno in the sb has been acked */
#define JFS_FLUSHED 0x008 /* The journal superblock has been flushed */
#define JFS_LOADED 0x010 /* The journal superblock has been loaded */
+#define JFS_BARRIER 0x020 /* Use IDE barriers */
/*
* Function declarations for the journaling transaction and buffer