[PATCH 0/8] nilfs2: assorted cleanups

From: Ryusuke Konishi
Date: Mon Aug 26 2024 - 13:41:49 EST


Hi Andrew,

please add this series to the queue for the next cycle.

This is a collection of cleanup patches, with only the last three
focused on the log writer thread, the rest are miscellaneous.

Patches 1/8, 4/8, and 7/8 adopt common implementations, 2/8 uses a
generic macro, 5/8 removes dead code, 6/8 removes an unnecessary
reference, and 3/8 and 8/8 each simplify a paticular messy
implementation.

Thanks,
Ryusuke Konishi

Huang Xiaojia (1):
nilfs2: use common implementation of file type

Ryusuke Konishi (7):
nilfs2: use the BITS_PER_LONG macro
nilfs2: separate inode type information from i_state field
nilfs2: eliminate the shared counter and spinlock for i_generation
nilfs2: do not repair reserved inode bitmap in nilfs_new_inode()
nilfs2: remove sc_timer_task
nilfs2: use kthread_create and kthread_stop for the log writer thread
nilfs2: refactor nilfs_segctor_thread()

fs/nilfs2/bmap.h | 5 +-
fs/nilfs2/dir.c | 44 ++---------
fs/nilfs2/inode.c | 75 ++++---------------
fs/nilfs2/nilfs.h | 15 +++-
fs/nilfs2/segment.c | 170 ++++++++++++++++++------------------------
fs/nilfs2/segment.h | 5 --
fs/nilfs2/super.c | 1 +
fs/nilfs2/the_nilfs.c | 5 --
fs/nilfs2/the_nilfs.h | 6 --
9 files changed, 108 insertions(+), 218 deletions(-)

--
2.34.1