Skip to content

Add online resize in ocfs2, take 1

Tao Ma ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Initalize bitmap_cpg of ocfs2_super to be the maximum,take 1fs/ocfs2/super.c+1 -14 replies
1/2Initalize bitmap_cpg of ocfs2_super to be the maximum,take 1+0 -00 replies
1/2Initalize bitmap_cpg of ocfs2_super to be the maximum,take 1+0 -01 reply
2/2Add online resize support for ocfs2, take 1fs/ocfs2/buffer_head_io.c fs/ocfs2/buffer_head_io.h fs/ocfs2/ioctl.c +4 more+449 -11 reply
2/2Add online resize support for ocfs2, take 1+0 -01 reply
2/2Add online resize support for ocfs2, take 1+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 0/2] Add online resize in ocfs2, take 1

User can do offline resize using tunefs.ocfs2 when a volume isn't mounted. Now the support for online resize is added into ocfs2.

Please note that the node where online resize goes must already has the volume mounted. We don't mount it behind the user and the operation would fail if we find it isn't mounted. As for other nodes, we don't care whether the volume is mounted or not.

global_bitmap, super block and all the backups will be updated in the kernel. And if super block or backup's update fails, we just output some error message in dmesg and continue the work.