]> www.infradead.org Git - users/hch/misc.git/commit
nilfs2: do not output warnings when clearing dirty buffers
authorRyusuke Konishi <konishi.ryusuke@gmail.com>
Fri, 16 Aug 2024 09:01:28 +0000 (18:01 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:43:35 +0000 (20:43 -0700)
commit299910dcb4525ac0274f3efa9527876315ba4f67
tree4e8e77145f553138807b7f4abe4e1746eefad305
parent79785f7801275bc070035e3982f8ff4b336a1ceb
nilfs2: do not output warnings when clearing dirty buffers

After detecting file system corruption and degrading to a read-only mount,
dirty folios and buffers in the page cache are cleared, and a large number
of warnings are output at that time, often filling up the kernel log.

In this case, since the degrading to a read-only mount is output to the
kernel log, these warnings are not very meaningful, and are rather a
nuisance in system management and debugging.

The related nilfs2-specific page/folio routines have a silent argument
that suppresses the warning output, but since it is not currently used
meaningfully, remove both the silent argument and the warning output.

Link: https://lkml.kernel.org/r/20240816090128.4561-1-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/inode.c
fs/nilfs2/mdt.c
fs/nilfs2/page.c
fs/nilfs2/page.h