[PATCH 1/2] ocfs2: Add group extend for online resize
authorTao Ma <tao.ma@oracle.com>
Tue, 18 Dec 2007 07:47:03 +0000 (15:47 +0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 25 Jan 2008 22:53:35 +0000 (14:53 -0800)
commitd659072f736837e56b6433d58e5315ad1d4d5ccf
tree56882b7b36c6b60a8208f6ed5bee9904adc7b649
parent7f68fc28219be3b44ef4132f95c6506ff3e806b5
[PATCH 1/2] ocfs2: Add group extend for online resize

This patch adds the ability for a userspace program to request an extend of
last cluster group on an Ocfs2 file system. The request is made via ioctl,
OCFS2_IOC_GROUP_EXTEND. This is derived from EXT3_IOC_GROUP_EXTEND, but is
obviously Ocfs2 specific.

tunefs.ocfs2 would call this for an online-resize operation if the last
cluster group isn't full.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/Makefile
fs/ocfs2/buffer_head_io.c
fs/ocfs2/buffer_head_io.h
fs/ocfs2/ioctl.c
fs/ocfs2/journal.h
fs/ocfs2/ocfs2_fs.h
fs/ocfs2/resize.c [new file with mode: 0644]
fs/ocfs2/resize.h [new file with mode: 0644]
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h