Matthew Wilcox (Oracle) 6abbaa5b01 fs/netfs: Add folio fscache functions
Match the page writeback functions by adding
folio_start_fscache(), folio_end_fscache(), folio_wait_fscache() and
folio_wait_fscache_killable().  Remove set_page_private_2().  Also rewrite
the kernel-doc to describe when to use the function rather than what the
function does, and include the kernel-doc in the appropriate rst file.
Saves 31 bytes of text in netfs_rreq_unlock() due to set_page_fscache()
calling page_folio() once instead of three times.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: David Howells <dhowells@redhat.com>
2021-09-27 09:27:31 -04:00
..
2021-08-30 23:36:51 -04:00
2021-06-04 11:31:02 -06:00
2021-06-13 17:02:46 -06:00
2020-12-10 12:40:07 -06:00
2020-09-04 11:32:10 +02:00
2021-09-02 09:21:27 -07:00
2020-07-09 08:14:01 +02:00
2020-10-14 16:09:32 -07:00
2020-12-15 12:13:39 -08:00
2021-03-25 11:51:23 -06:00