Linux NILFS development
 help / color / mirror / Atom feed
* [PATCHv3 0/2] nilfs2: asynchronous sb update
@ 2010-06-20 16:36 Jiro SEKIBA
       [not found] ` <1277051815-11297-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Jiro SEKIBA @ 2010-06-20 16:36 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
  Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg, ryusuke-sG5X7nlA6pw,
	Jiro SEKIBA

Hi,

This is v3 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_set_log_cursor to advance log cursor
for one specified super blocks.


changes from v2
- restore super block in nilfs_prepare_super
- introduce nilfs_set_error
 * used in nilfs_error
- introduce nilfs_set_log_cursor instead of write_log_cursor
 * instead of writing error, set log cursor to specified sb pointer
 * used followed by nilfs_commit_super
- introduce ns_sbwcount
 * swap super blocks based on the counter
 * swap all most all the time, still asymmetric(9:7 ratio)
- delete ns_sbwtime[2]
 * introduce ns_sbwtime instead of array of both super blocks
- synchronize super blocks when mount/remount
- abandon NILFS_SB_SET_FN
 * only used in nilfs_set_error, so assign directly in the function
- misc style fix
- misc comment fix

changes from v1
- 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     |   11 +++
 fs/nilfs2/segment.c   |    9 ++-
 fs/nilfs2/super.c     |  187 +++++++++++++++++++++++++++++++++---------------
 fs/nilfs2/the_nilfs.c |   17 +++--
 fs/nilfs2/the_nilfs.h |   17 ++---
 5 files changed, 163 insertions(+), 78 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] 7+ messages in thread

end of thread, other threads:[~2010-06-23  8:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 16:36 [PATCHv3 0/2] nilfs2: asynchronous sb update Jiro SEKIBA
     [not found] ` <1277051815-11297-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-20 16:36   ` [PATCHv3 1/2] nilfs2: introduce nilfs_prepare_super Jiro SEKIBA
2010-06-20 16:36   ` [PATCHv3 2/2] nilfs2: sync super blocks in turns Jiro SEKIBA
     [not found]     ` <1277051815-11297-3-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
2010-06-20 17:53       ` Ryusuke Konishi
     [not found]         ` <20100621.025310.57455600.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-06-23  3:38           ` Ryusuke Konishi
     [not found]             ` <20100623.123856.258021353.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-06-23  7:23               ` Jiro SEKIBA
     [not found]                 ` <87ocf2civ3.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
2010-06-23  8:56                   ` Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox