diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-04-29 23:00:05 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-10 05:12:30 +0200 |
commit | fa29000b6b2603ec2bfdc4c73249fcb00cd54f85 (patch) | |
tree | 8746e20bb5db7e12c4386098a0b3591c43160575 /Documentation/filesystems/caching | |
parent | mm/filemap: Hoist filler_t decision to the top of do_read_cache_folio() (diff) | |
download | linux-fa29000b6b2603ec2bfdc4c73249fcb00cd54f85.tar.xz linux-fa29000b6b2603ec2bfdc4c73249fcb00cd54f85.zip |
fs: Add aops->release_folio
This replaces aops->releasepage. Update the documentation, and call it
if it exists.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'Documentation/filesystems/caching')
-rw-r--r-- | Documentation/filesystems/caching/netfs-api.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/caching/netfs-api.rst b/Documentation/filesystems/caching/netfs-api.rst index 7308d76a29dc..1d18e9def183 100644 --- a/Documentation/filesystems/caching/netfs-api.rst +++ b/Documentation/filesystems/caching/netfs-api.rst @@ -433,11 +433,11 @@ has done a write and then the page it wrote from has been released by the VM, after which it *has* to look in the cache. To inform fscache that a page might now be in the cache, the following function -should be called from the ``releasepage`` address space op:: +should be called from the ``release_folio`` address space op:: void fscache_note_page_release(struct fscache_cookie *cookie); -if the page has been released (ie. releasepage returned true). +if the page has been released (ie. release_folio returned true). Page release and page invalidation should also wait for any mark left on the page to say that a DIO write is underway from that page:: |