Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccd979bd authored by Mark Fasheh's avatar Mark Fasheh Committed by Joel Becker
Browse files

[PATCH] OCFS2: The Second Oracle Cluster Filesystem



The OCFS2 file system module.

Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: default avatarKurt Hackel <kurt.hackel@oracle.com>
parent 8df08c89
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+55 −0
Original line number Diff line number Diff line
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   <joel.becker@oracle.com>
Zach Brown    <zach.brown@oracle.com>
Mark Fasheh   <mark.fasheh@oracle.com>
Kurt Hackel   <kurt.hackel@oracle.com>
Sunil Mushran <sunil.mushran@oracle.com>
Manish Singh  <manish.singh@oracle.com>

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 −0
Original line number Diff line number Diff line
@@ -1905,6 +1905,15 @@ M: ajoshi@shell.unixbox.com
L:	linux-nvidia@lists.surfsouth.com
S:	Maintained

ORACLE CLUSTER FILESYSTEM 2 (OCFS2)
P:	Mark Fasheh
M:	mark.fasheh@oracle.com
P:	Kurt Hackel
M:	kurt.hackel@oracle.com
L:	ocfs2-devel@oss.oracle.com
W:	http://oss.oracle.com/projects/ocfs2/
S:	Supported	

OLYMPIC NETWORK DRIVER
P:	Peter De Shrijver
M:	p2@ace.ulyssis.student.kuleuven.ac.be

fs/ocfs2/Makefile

0 → 100644
+33 −0
Original line number Diff line number Diff line
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/

fs/ocfs2/alloc.c

0 → 100644
+2040 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading