Matthew Wilcox (Oracle)
b1793929b7
writeback: factor folio_prepare_writeback() out of write_cache_pages()
...
Reduce write_cache_pages() by about 30 lines; much of it is commentary,
but it all bundles nicely into an obvious function.
[hch@lst.de: rename should_writeback_folio to folio_prepare_writeback per Jan]
Link: https://lkml.kernel.org/r/20240215063649.2164017-8-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>
2024-02-23 17:48:36 -08:00
..
2024-02-23 17:48:30 -08:00
2024-02-23 17:28:43 -08:00
2023-12-05 11:17:58 +01:00
2024-02-22 10:24:41 -08:00
2024-02-06 09:44:03 -07:00
2023-10-25 16:47:13 -07:00
2024-02-22 10:24:57 -08:00
2024-02-22 10:24:57 -08:00
2024-02-22 10:24:57 -08:00
2024-02-23 17:48:33 -08:00
2024-01-08 15:27:15 -08:00
2024-02-23 17:27:13 -08:00
2023-12-05 11:17:58 +01:00
2024-02-23 17:28:43 -08:00
2023-12-29 11:58:27 -08:00
2023-12-29 11:58:56 -08:00
2023-12-29 12:22:28 -08:00
2024-02-22 15:27:20 -08:00
2023-10-18 14:34:17 -07:00
2023-12-12 10:57:08 -08:00
2023-10-25 16:47:14 -07:00
2024-02-22 10:24:59 -08:00
2023-12-12 10:11:32 +01:00
2024-02-23 17:48:33 -08:00
2024-02-22 15:27:19 -08:00
2023-12-05 11:14:40 +01:00
2024-02-23 17:48:25 -08:00
2023-12-12 10:57:07 -08:00
2023-12-29 11:58:56 -08:00
2024-02-22 10:24:54 -08:00
2024-02-23 17:48:34 -08:00
2023-12-05 11:14:40 +01:00
2024-02-20 14:20:49 -08:00
2024-02-22 10:24:52 -08:00
2023-10-04 10:32:22 -07:00
2024-02-22 10:24:40 -08:00
2024-02-07 21:20:34 -08:00
2024-02-22 10:24:55 -08:00
2024-02-22 15:27:18 -08:00
2024-02-22 10:24:47 -08:00
2024-01-09 11:18:47 -08:00
2023-12-29 11:58:26 -08:00
2023-12-29 11:58:56 -08:00
2024-02-23 17:28:43 -08:00
2023-10-25 16:47:14 -07:00
2024-01-12 15:20:47 -08:00
2024-02-22 10:24:52 -08:00
2024-02-22 15:27:17 -08:00
2023-12-12 10:57:02 -08:00
2024-02-21 16:00:03 -08:00
2023-10-18 14:34:18 -07:00
2024-02-23 17:48:19 -08:00
2023-12-10 16:51:53 -08:00
2024-02-23 17:48:34 -08:00
2023-12-29 20:22:11 -08:00
2024-01-08 15:27:15 -08:00
2024-02-23 17:48:17 -08:00
2023-12-10 16:51:50 -08:00
2024-01-08 15:27:15 -08:00
2023-12-20 14:48:12 -08:00
2024-02-23 17:48:36 -08:00
2023-12-10 16:51:53 -08:00
2023-12-14 00:23:17 -08:00
2023-12-10 16:51:39 -08:00
2024-02-22 10:24:47 -08:00
2024-02-22 10:24:38 -08:00
2024-02-22 15:27:20 -08:00
2024-02-23 17:48:34 -08:00
2024-01-08 15:27:15 -08:00
2023-10-04 10:32:26 -07:00
2024-01-05 09:58:32 -08:00
2024-01-08 15:27:15 -08:00
2024-01-05 10:17:46 -08:00
2023-12-06 11:57:21 +01:00
2024-01-09 11:18:47 -08:00
2024-02-21 16:00:01 -08:00
2024-02-22 10:24:54 -08:00
2024-02-22 15:27:17 -08:00
2024-02-22 15:27:17 -08:00
2024-02-20 14:20:48 -08:00
2024-02-23 17:48:34 -08:00
2023-12-10 16:51:42 -08:00
2024-02-22 15:27:20 -08:00
2023-12-10 16:51:49 -08:00
2024-02-23 17:48:21 -08:00
2023-11-28 14:08:38 +01:00
2024-02-22 10:24:58 -08:00
2024-01-08 15:27:15 -08:00
2024-01-05 10:17:45 -08:00
2024-02-23 17:48:31 -08:00
2024-02-23 17:48:32 -08:00
2024-02-23 17:48:31 -08:00