mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
286eaa95c5
We define the ocfs2_stack_plugin structure to represent a stack driver. The o2cb stack code is split into stack_o2cb.c. This becomes the ocfs2_stack_o2cb.ko module. The stackglue generic functions are similarly split into the ocfs2_stackglue.ko module. This module now provides an interface to register drivers. The ocfs2_stack_o2cb driver registers itself. As part of this interface, ocfs2_stackglue can load drivers on demand. This is accomplished in ocfs2_cluster_connect(). ocfs2_cluster_disconnect() is now notified when a _hangup() is pending. If a hangup is pending, it will not release the driver module and will let _hangup() do that. Signed-off-by: Joel Becker <joel.becker@oracle.com>
39 lines
653 B
Makefile
39 lines
653 B
Makefile
EXTRA_CFLAGS += -Ifs/ocfs2
|
|
|
|
EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES
|
|
|
|
obj-$(CONFIG_OCFS2_FS) += ocfs2.o ocfs2_stackglue.o ocfs2_stack_o2cb.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 \
|
|
ioctl.o \
|
|
journal.o \
|
|
localalloc.o \
|
|
locks.o \
|
|
mmap.o \
|
|
namei.o \
|
|
resize.o \
|
|
slot_map.o \
|
|
suballoc.o \
|
|
super.o \
|
|
symlink.o \
|
|
sysfile.o \
|
|
uptodate.o \
|
|
ver.o
|
|
|
|
ocfs2_stackglue-objs := stackglue.o
|
|
ocfs2_stack_o2cb-objs := stack_o2cb.o
|
|
|
|
obj-$(CONFIG_OCFS2_FS) += cluster/
|
|
obj-$(CONFIG_OCFS2_FS) += dlm/
|