From: Jiro SEKIBA <jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org,
Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>,
Jiro SEKIBA <jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
Subject: [PATCH 0/2v2] nilfs2: asynchronous super block updates
Date: Fri, 11 Jun 2010 23:30:37 +0900 [thread overview]
Message-ID: <1276266639-15913-1-git-send-email-jir@unicus.jp> (raw)
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
next reply other threads:[~2010-06-11 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-11 14:30 Jiro SEKIBA [this message]
[not found] ` <1276266639-15913-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-11 14:30 ` [PATCH 1/2] nilfs2: introduce nilfs_prepare_super Jiro SEKIBA
[not found] ` <1276266639-15913-2-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-12 17:43 ` Ryusuke Konishi
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1276266639-15913-1-git-send-email-jir@unicus.jp \
--to=jir-hfpbi5wx9j54eiagz67ipq@public.gmane.org \
--cc=konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ryusuke-sG5X7nlA6pw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox