Skip to content

Commit

Permalink
[PATCH] OCFS2: The Second Oracle Cluster Filesystem
Browse files Browse the repository at this point in the history
The OCFS2 file system module.

Signed-off-by: Mark Fasheh <[email protected]>
Signed-off-by: Kurt Hackel <[email protected]>
  • Loading branch information
Mark Fasheh authored and Joel Becker committed Jan 3, 2006
1 parent 8df08c8 commit ccd979b
Show file tree
Hide file tree
Showing 55 changed files with 24,504 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/filesystems/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ ntfs.txt
- info and mount options for the NTFS filesystem (Windows NT).
proc.txt
- info on Linux's /proc filesystem.
ocfs2.txt
- info and mount options for the OCFS2 clustered filesystem.
romfs.txt
- Description of the ROMFS filesystem.
smbfs.txt
Expand Down
55 changes: 55 additions & 0 deletions Documentation/filesystems/ocfs2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
OCFS2 filesystem
==================
OCFS2 is a general purpose extent based shared disk cluster file
system with many similarities to ext3. It supports 64 bit inode
numbers, and has automatically extending metadata groups which may
also make it attractive for non-clustered use.

You'll want to install the ocfs2-tools package in order to at least
get "mount.ocfs2" and "ocfs2_hb_ctl".

Project web page: http://oss.oracle.com/projects/ocfs2
Tools web page: http://oss.oracle.com/projects/ocfs2-tools
OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/

All code copyright 2005 Oracle except when otherwise noted.

CREDITS:
Lots of code taken from ext3 and other projects.

Authors in alphabetical order:
Joel Becker <[email protected]>
Zach Brown <[email protected]>
Mark Fasheh <[email protected]>
Kurt Hackel <[email protected]>
Sunil Mushran <[email protected]>
Manish Singh <[email protected]>

Caveats
=======
Features which OCFS2 does not support yet:
- sparse files
- extended attributes
- shared writeable mmap
- loopback is supported, but data written will not
be cluster coherent.
- quotas
- cluster aware flock
- Directory change notification (F_NOTIFY)
- Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease)
- POSIX ACLs
- readpages / writepages (not user visible)

Mount options
=============

OCFS2 supports the following mount options:
(*) == default

barrier=1 This enables/disables barriers. barrier=0 disables it,
barrier=1 enables it.
errors=remount-ro(*) Remount the filesystem read-only on an error.
errors=panic Panic and halt the machine if an error occurs.
intr (*) Allow signals to interrupt cluster operations.
nointr Do not allow signals to interrupt cluster
operations.
9 changes: 9 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,15 @@ M: [email protected]
L: [email protected]
S: Maintained

ORACLE CLUSTER FILESYSTEM 2 (OCFS2)
P: Mark Fasheh
M: [email protected]
P: Kurt Hackel
M: [email protected]
L: [email protected]
W: http://oss.oracle.com/projects/ocfs2/
S: Supported

OLYMPIC NETWORK DRIVER
P: Peter De Shrijver
M: [email protected]
Expand Down
33 changes: 33 additions & 0 deletions fs/ocfs2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
EXTRA_CFLAGS += -Ifs/ocfs2

EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES

obj-$(CONFIG_OCFS2_FS) += ocfs2.o

ocfs2-objs := \
alloc.o \
aops.o \
buffer_head_io.o \
dcache.o \
dir.o \
dlmglue.o \
export.o \
extent_map.o \
file.o \
heartbeat.o \
inode.o \
journal.o \
localalloc.o \
mmap.o \
namei.o \
slot_map.o \
suballoc.o \
super.o \
symlink.o \
sysfile.o \
uptodate.o \
ver.o \
vote.o

obj-$(CONFIG_OCFS2_FS) += cluster/
obj-$(CONFIG_OCFS2_FS) += dlm/
Loading

0 comments on commit ccd979b

Please sign in to comment.