kernel-hacking-2024-linux-s.../fs/ocfs2
Tao Ma 7909f2bf83 [PATCH 2/2] ocfs2: Implement group add for online resize
This patch adds the ability for a userspace program to request that a
properly formatted cluster group be added to the main allocation bitmap for
an Ocfs2 file system. The request is made via an ioctl, OCFS2_IOC_GROUP_ADD.
On a high level, this is similar to ext3, but we use a different ioctl as
the structure which has to be passed through is different.

During an online resize, tunefs.ocfs2 will format any new cluster groups
which must be added to complete the resize, and call OCFS2_IOC_GROUP_ADD on
each one. Kernel verifies that the core cluster group information is valid
and then does the work of linking it into the global allocation bitmap.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2008-01-25 15:04:24 -08:00
..
cluster ocfs2: Remove data locks 2008-01-25 14:45:57 -08:00
dlm ocfs2_dlm: Call node eviction callbacks from heartbeat handler 2008-01-25 14:36:40 -08:00
alloc.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
alloc.h
aops.c ocfs2: Readpages support 2008-01-25 14:48:12 -08:00
aops.h ocfs2: convert to new aops 2007-10-16 09:42:58 -07:00
buffer_head_io.c [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
buffer_head_io.h [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
dcache.c ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
dcache.h
dir.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
dir.h
dlmglue.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
dlmglue.h ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
endian.h
export.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
export.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
extent_map.c
extent_map.h
file.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
file.h
heartbeat.c ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
heartbeat.h ocfs2: Remove fs dependency on ocfs2_heartbeat module 2008-01-25 14:36:40 -08:00
inode.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
inode.h ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
ioctl.c [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
ioctl.h
journal.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
journal.h [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
localalloc.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
localalloc.h
Makefile [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
mmap.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
mmap.h
namei.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
namei.h
ocfs1_fs_compat.h
ocfs2.h ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
ocfs2_fs.h [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
ocfs2_lockid.h
resize.c [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
resize.h [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
slot_map.c ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
slot_map.h ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
suballoc.c [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
suballoc.h [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
super.c ocfs2: Initalize bitmap_cpg of ocfs2_super to be the maximum. 2008-01-25 14:48:54 -08:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h