]> git.ipfire.org Git - thirdparty/linux.git/commit
mm,btrfs: add a filemap_flush_nr helper
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Oct 2025 08:04:17 +0000 (10:04 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 14:50:41 +0000 (15:50 +0100)
commit7fabcb7fbabbcddd9dc42dbe4c92d18ce3e54283
tree656edab366a1b492c9dcbe976a4656448ace7b45
parentc9501112e3cbb7bd9941024f005c5d0f0b77c9f9
mm,btrfs: add a filemap_flush_nr helper

Abstract out the btrfs-specific behavior of kicking off I/O on a number
of pages on an address_space into a well-defined helper.

Note: there is no kerneldoc comment for the new function because it is
not part of the public API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251024080431.324236-7-hch@lst.de
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/inode.c
include/linux/pagemap.h
mm/filemap.c