Hi all, Here's v2 of the series to fix up log recovery to update metadata LSNs and handle buffer submission correctly. This is mostly similar to v1. The primary functional change is a fixup to patch 1, that came out of the discussion with Dave, to drain queued buffers on LSN changes of commit log records (as opposed to all LSN changes). Otherwise, fixes include some light refactoring and comment reworks. Thoughts, reviews, flames appreciated. Brian v2: - Rebased to for-next. - Limit LSN change trigger to log commit records. - Comment rewrite/fixups. - Refactor buffer validation handling of NULL current lsn callers (skipped bufs). v1: http://oss.sgi.com/pipermail/xfs/2016-August/050840.html Brian Foster (5): xfs: rework log recovery to submit buffers on LSN boundaries xfs: pass current lsn to log recovery buffer validation xfs: don't warn on buffers not being recovered due to LSN xfs: update metadata LSN in buffers during log recovery xfs: log recovery tracepoints to track current lsn and buffer submission fs/xfs/xfs_log_priv.h | 3 +- fs/xfs/xfs_log_recover.c | 191 +++++++++++++++++++++++++++++++++-------------- fs/xfs/xfs_trace.h | 31 +++++++- 3 files changed, 166 insertions(+), 59 deletions(-) -- 2.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html