diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-07-13 22:45:50 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 07:49:39 -0400 |
commit | b9b0ff61eef51469eae962b80bae094ce2c8c2a5 (patch) | |
tree | 6cd9e6b21d5ae78f016a157ae30cb24b6ec6d7d5 /mm/page-writeback.c | |
parent | 203a31516616111b8eaaf00c16fa3fcaa25e6f81 (diff) | |
download | linux-rpi-b9b0ff61eef51469eae962b80bae094ce2c8c2a5.tar.gz linux-rpi-b9b0ff61eef51469eae962b80bae094ce2c8c2a5.tar.bz2 linux-rpi-b9b0ff61eef51469eae962b80bae094ce2c8c2a5.zip |
mm/writeback: Convert tracing writeback_page_template to folios
Rename writeback_dirty_page() to writeback_dirty_folio() and
wait_on_page_writeback() to folio_wait_writeback().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 40d77597385f..ebbd15f0d841 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2443,7 +2443,7 @@ static void folio_account_dirtied(struct folio *folio, { struct inode *inode = mapping->host; - trace_writeback_dirty_page(&folio->page, mapping); + trace_writeback_dirty_folio(folio, mapping); if (mapping_can_writeback(mapping)) { struct bdi_writeback *wb; @@ -2894,7 +2894,7 @@ EXPORT_SYMBOL(__folio_start_writeback); void folio_wait_writeback(struct folio *folio) { while (folio_test_writeback(folio)) { - trace_wait_on_page_writeback(&folio->page, folio_mapping(folio)); + trace_folio_wait_writeback(folio, folio_mapping(folio)); folio_wait_bit(folio, PG_writeback); } } @@ -2916,7 +2916,7 @@ EXPORT_SYMBOL_GPL(folio_wait_writeback); int folio_wait_writeback_killable(struct folio *folio) { while (folio_test_writeback(folio)) { - trace_wait_on_page_writeback(&folio->page, folio_mapping(folio)); + trace_folio_wait_writeback(folio, folio_mapping(folio)); if (folio_wait_bit_killable(folio, PG_writeback)) return -EINTR; } |