]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite3e3bdd450c9564f748f06b42748fa1d2eea2660
tree56882b7b36c6b60a8208f6ed5bee9904adc7b649
parent6fec8ad84e7221fa49d3c86ca90a9ff88f74ff96
[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