Skip to content

nilfs2 lockdep warning fixes

Ryusuke Konishi linux-mm linux-nilfs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nilfs2: fix lockdep warnings in page operations for btree nodesfs/nilfs2/btnode.c fs/nilfs2/btnode.h fs/nilfs2/btree.c +7 more+154 -500 replies
2/3nilfs2: fix lockdep warnings during disk space reclamationfs/nilfs2/dat.c fs/nilfs2/inode.c fs/nilfs2/mdt.c +2 more+92 -210 replies
3/3nilfs2: get rid of nilfs_mapping_init()fs/nilfs2/page.c fs/nilfs2/page.h+0 -100 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchRyusuke Konishi
1/3T-b
2/3T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] nilfs2 lockdep warning fixes

Hi Andrew,

please consider applying the following changes to -mm tree.

Ryusuke Konishi (3):
nilfs2: fix lockdep warnings in page operations for btree nodes
nilfs2: fix lockdep warnings during disk space reclamation
nilfs2: get rid of nilfs_mapping_init()

The first two are to resolve the lockdep warning issue, and the last one is the accompanying cleanup and low priority.

The merge window is already open, but this is for the reported issues, so I'll send it without waiting at this point when tests have passed.

Based on your comment, this series solves the issue by separating inode object as needed. Since I was worried about the impact of the object composition changes, I tested the series carefully not to cause regressions especially for delicate functions such like disk space reclamation and snapshots.

Thanks,
Ryusuke Konishi
--

 fs/nilfs2/btnode.c  |  23 +++++++-
 fs/nilfs2/btnode.h  |   1 +
 fs/nilfs2/btree.c   |  27 ++++++---
 fs/nilfs2/dat.c     |   4 +-
 fs/nilfs2/gcinode.c |   7 ++-
 fs/nilfs2/inode.c   | 159 +++++++++++++++++++++++++++++++++++++++++++++++-----
 fs/nilfs2/mdt.c     |  43 +++++++++-----
 fs/nilfs2/mdt.h     |   6 +-
 fs/nilfs2/nilfs.h   |  16 +++---
 fs/nilfs2/page.c    |  16 +-----
 fs/nilfs2/page.h    |   1 -
 fs/nilfs2/segment.c |   9 ++-
 fs/nilfs2/super.c   |   5 +-
 13 files changed, 241 insertions(+), 76 deletions(-)
Signature · 1 line
1.8.3.1