diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-15 07:36:47 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-23 17:48:37 -0800 |
commit | a2cbc13638d909e61495f8f4c5968105fff23d9d (patch) | |
tree | 3d5d2f11a1d351271019e387a4179e9d98e7fce9 /Documentation/block | |
parent | e6d0ab87c8efe9305024d197bc866122d39be306 (diff) | |
download | linux-a2cbc13638d909e61495f8f4c5968105fff23d9d.tar.gz linux-a2cbc13638d909e61495f8f4c5968105fff23d9d.tar.bz2 linux-a2cbc13638d909e61495f8f4c5968105fff23d9d.zip |
writeback: move the folio_prepare_writeback loop out of write_cache_pages()
Move the loop for should-we-write-this-folio to writeback_get_folio.
[hch@lst.de: fold loop into existing helper instead of a separate one per Jan]
Link: https://lkml.kernel.org/r/20240215063649.2164017-13-hch@lst.de
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Dave Chinner <dchinner@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions