diff options
author | Frederic Bohe <frederic.bohe@bull.net> | 2008-07-11 19:27:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-11 19:27:31 -0400 |
commit | 5f21b0e642d7bf6fe4434c9ba12bc9cb96b17cf7 (patch) | |
tree | 0f391fac5cc7fa93129bf8dd853598c6d2d65bb5 /fs/ext4/ext4.h | |
parent | 953e622b601f58b7cc0f29fe644457fa40a18456 (diff) |
ext4: fix online resize with mballoc
Update group infos when updating a group's descriptor.
Add group infos when adding a group's descriptor.
Refresh cache pages used by mb_alloc when changes occur.
This will probably need modifications when META_BG resizing will be allowed.
Signed-off-by: Frederic Bohe <frederic.bohe@bull.net>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 2c4b48519c8b..64edb09c481e 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1033,6 +1033,10 @@ extern int __init init_ext4_mballoc(void); | |||
1033 | extern void exit_ext4_mballoc(void); | 1033 | extern void exit_ext4_mballoc(void); |
1034 | extern void ext4_mb_free_blocks(handle_t *, struct inode *, | 1034 | extern void ext4_mb_free_blocks(handle_t *, struct inode *, |
1035 | unsigned long, unsigned long, int, unsigned long *); | 1035 | unsigned long, unsigned long, int, unsigned long *); |
1036 | extern int ext4_mb_add_more_groupinfo(struct super_block *sb, | ||
1037 | ext4_group_t i, struct ext4_group_desc *desc); | ||
1038 | extern void ext4_mb_update_group_info(struct ext4_group_info *grp, | ||
1039 | ext4_grpblk_t add); | ||
1036 | 1040 | ||
1037 | 1041 | ||
1038 | /* inode.c */ | 1042 | /* inode.c */ |