Skip to content

nilfs2: asynchronous super block updates

Jiro SEKIBA linux-nilfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nilfs2: introduce nilfs_prepare_superfs/nilfs2/nilfs.h fs/nilfs2/segment.c fs/nilfs2/super.c +1 more+52 -222 replies
2/2nilfs2: sync super blocks in turnsfs/nilfs2/nilfs.h fs/nilfs2/segment.c fs/nilfs2/super.c+45 -81 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] nilfs2: asynchronous super block updates

Hi,

These are patches to update super blocks in turns.

First patch separates super block validity check from nilfs_commit_super, and moved the function into callers.

Second patch separates super block pointer updates from nilfs_commit_super.

Callers which intend to update super root pointer in super block must call before calling nilfs_commit_super. Now nilfs_commit_super replicates the super block information except super root pointer information when passed dupsb as non-0. When dupsb is 0, nilfs_commit_super just clears the dirty flag and calls nilfs_sync_super.

 fs/nilfs2/nilfs.h     |    2 +
 fs/nilfs2/segment.c   |    8 +++-
 fs/nilfs2/super.c     |   98 +++++++++++++++++++++++++++++++++++++++----------
 fs/nilfs2/the_nilfs.c |    9 +++-
 4 files changed, 92 insertions(+), 25 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html