Matthew Wilcox (Oracle) b27652d935 mm/filemap: Add FGP_STABLE
Allow filemap_get_folio() to wait for writeback to complete (if the
filesystem wants that behaviour).  This is the folio equivalent of
grab_cache_page_write_begin(), which is moved into the folio-compat
file as a reminder to migrate all the code using it.  This paves the
way for getting rid of AOP_FLAG_NOFS once grab_cache_page_write_begin()
is removed.

Kernel grows by 11 bytes.  filemap_get_folio() grows by 33 bytes but
grab_cache_page_write_begin() shrinks by 22 bytes to make up for it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
2021-10-18 07:49:41 -04:00
..
2021-05-07 00:26:35 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-06-29 10:53:52 -07:00
2021-10-18 07:49:41 -04:00
2021-10-18 07:49:41 -04:00
2021-09-08 11:50:24 -07:00
2021-10-18 07:49:39 -04:00
2021-10-18 07:49:40 -04:00
2021-10-18 07:49:39 -04:00
2021-10-18 07:49:39 -04:00
2021-07-01 11:06:03 -07:00
2021-06-05 20:43:15 +00:00
2021-05-07 00:26:35 -07:00
2021-04-16 16:10:37 -07:00
2021-10-18 07:49:39 -04:00
2021-05-07 00:26:35 -07:00
2021-10-18 07:49:40 -04:00
2021-10-18 07:49:39 -04:00
2021-05-07 00:26:35 -07:00