All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nilfs2: asynchronous super block updates
@ 2010-06-05 22:19 Jiro SEKIBA
       [not found] ` <1275776349-22820-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Jiro SEKIBA @ 2010-06-05 22:19 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
  Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg,
	konishi.ryusuke-Re5JQEeQqe8AvxtiuMwx3w, Ryusuke Konishi,
	Jiro SEKIBA

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/2] nilfs2: asynchronous super block updates
@ 2010-06-08 22:15 Jiro SEKIBA
       [not found] ` <1276035358-24284-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Jiro SEKIBA @ 2010-06-08 22:15 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
  Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg, Ryusuke Konishi, Jiro SEKIBA

Hi,

This is revised patch series to update super block asynchronously.

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

Second patch introduces nilfs_write_log_cursor to advance log cursor
for one of super blocks.  This patch also define a macro that generates
inline function to update information both super blocks for convenience.


 fs/nilfs2/nilfs.h     |    2 +
 fs/nilfs2/segment.c   |    8 +--
 fs/nilfs2/super.c     |  144 ++++++++++++++++++++++++++++++++++---------------
 fs/nilfs2/the_nilfs.c |   11 +++-
 fs/nilfs2/the_nilfs.h |   23 +++++---
 5 files changed, 128 insertions(+), 60 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/2v2] nilfs2: asynchronous super block updates
@ 2010-06-11 14:30 Jiro SEKIBA
       [not found] ` <1276266639-15913-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Jiro SEKIBA @ 2010-06-11 14:30 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
  Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg, Ryusuke Konishi, Jiro SEKIBA

Hi,

This is re-revised patch series to update super block asynchronously.

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

Second patch introduces nilfs_write_log_cursor to advance log cursor
for one of super blocks.  This patch also define a macro that generates
inline function to update information both super blocks for convenience.

diffs aganist previous set are
- change macro name NILFS_SUPER_SET_FN -> NILFS_SB_SET_FN
 * change inline function name as nilfs_sb_set_##name
- introduce enum for nilfs_commit_super and nilfs_sync_super
 * NILFS_SB_COMMIT and NILFS_SB_COMMIT_ALL
 * use flag instead of dupsb in nilfs_commit_super/sync_super

 fs/nilfs2/nilfs.h     |    6 ++
 fs/nilfs2/segment.c   |    8 +--
 fs/nilfs2/super.c     |  155 ++++++++++++++++++++++++++++++++++---------------
 fs/nilfs2/the_nilfs.c |   11 +++-
 fs/nilfs2/the_nilfs.h |   23 +++++---
 5 files changed, 138 insertions(+), 65 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-06-12 19:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-05 22:19 [PATCH 0/2] nilfs2: asynchronous super block updates Jiro SEKIBA
     [not found] ` <1275776349-22820-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-05 22:19   ` [PATCH 1/2] nilfs2: introduce nilfs_prepare_super Jiro SEKIBA
     [not found]     ` <1275776349-22820-2-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-06 11:12       ` Ryusuke Konishi
     [not found]         ` <20100606.201205.144804443.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-06-06 12:17           ` Jiro SEKIBA
2010-06-05 22:19   ` [PATCH 2/2] nilfs2: sync super blocks in turns Jiro SEKIBA
     [not found]     ` <1275776349-22820-3-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-07  6:15       ` Ryusuke Konishi
2010-06-08 22:15 [PATCH 0/2] nilfs2: asynchronous super block updates Jiro SEKIBA
     [not found] ` <1276035358-24284-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-08 22:15   ` [PATCH 2/2] nilfs2: sync super blocks in turns Jiro SEKIBA
2010-06-11 14:30 [PATCH 0/2v2] nilfs2: asynchronous super block updates Jiro SEKIBA
     [not found] ` <1276266639-15913-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-11 14:30   ` [PATCH 2/2] nilfs2: sync super blocks in turns Jiro SEKIBA
     [not found]     ` <1276266639-15913-3-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-12 19:06       ` Ryusuke Konishi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.