[PATCH 0/8] nilfs2 updates

From: Ryusuke Konishi
Date: Thu Jun 02 2016 - 10:02:37 EST


Hi Andrew,

Please queue the following changes for the next merge window:

Ryusuke Konishi (8):
nilfs2: hide function name argument from nilfs_error()
nilfs2: add nilfs_msg() message interface
nilfs2: embed a back pointer to super block instance in nilfs object
nilfs2: reduce bare use of printk() with nilfs_msg()
nilfs2: replace nilfs_warning() with nilfs_msg()
nilfs2: emit error message when I/O error is detected
nilfs2: do not use yield()
nilfs2: refactor parser of snapshot mount option

* Brief Summary

This series revises message interface of nilfs, and cleans a few
more checkpatch warnings.

> nilfs2: hide function name argument from nilfs_error()

This simplifies argument of nilfs_error() output routine.

> nilfs2: add nilfs_msg() message interface
> nilfs2: embed a back pointer to super block instance in nilfs object
> nilfs2: reduce bare use of printk() with nilfs_msg()
> nilfs2: replace nilfs_warning() with nilfs_msg()

These add a new message routine "nilfs_msg()", use it to reduce bare
use of printk(), and also unify nilfs_warning() output routine to it.

> nilfs2: emit error message when I/O error is detected

This helps to distinguish whether a file system error comes from the
underlying device or not by having io routines of nilfs output error
messages when they detect an I/O error.

> nilfs2: do not use yield()
> nilfs2: refactor parser of snapshot mount option

These remove two remaining checkpatch warnings.


Thanks,
Ryusuke Konishi
--
fs/nilfs2/alloc.c | 45 +++++------
fs/nilfs2/bmap.c | 4 +-
fs/nilfs2/btree.c | 61 +++++++++------
fs/nilfs2/cpfile.c | 22 +++---
fs/nilfs2/dat.c | 19 +++--
fs/nilfs2/dir.c | 38 +++++-----
fs/nilfs2/direct.c | 10 ++-
fs/nilfs2/gcinode.c | 9 ++-
fs/nilfs2/ifile.c | 7 +-
fs/nilfs2/inode.c | 32 ++++----
fs/nilfs2/ioctl.c | 47 ++++++------
fs/nilfs2/mdt.c | 6 +-
fs/nilfs2/namei.c | 6 +-
fs/nilfs2/nilfs.h | 27 ++++++-
fs/nilfs2/page.c | 19 +++--
fs/nilfs2/recovery.c | 72 +++++++++---------
fs/nilfs2/segbuf.c | 6 +-
fs/nilfs2/segment.c | 47 ++++++------
fs/nilfs2/sufile.c | 31 ++++----
fs/nilfs2/super.c | 206 ++++++++++++++++++++++++++------------------------
fs/nilfs2/sysfs.c | 30 ++++----
fs/nilfs2/the_nilfs.c | 134 +++++++++++++++++---------------
fs/nilfs2/the_nilfs.h | 4 +-
23 files changed, 469 insertions(+), 413 deletions(-)