Bugzilla: https://bugzilla.redhat.com/2160210
commit fa29000b6b2603ec2bfdc4c73249fcb00cd54f85
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
Date: Fri Apr 29 17:00:05 2022 -0400
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>
Signed-off-by: Chris von Recklinghausen <crecklin@redhat.com>
Conflicts:
drop changes to fs/9p/vfs_addr.c - unsupported fs
fs/afs/file.c - We already have
bc899ee1c898 ("netfs: Add a netfs inode context")
so just remove the .set_page_dirty entry and replace it with
the .dirty_folio entry
Bugzilla: https://bugzilla.redhat.com/2120352
commit 8fb72b4a76933ae6f86725cc8e4a8190ba84d755
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
Date: Wed Feb 9 20:22:01 2022 +0000
fscache: Convert fscache_set_page_dirty() to fscache_dirty_folio()
Convert all users of fscache_set_page_dirty to use fscache_dirty_folio.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs
Tested-by: David Howells <dhowells@redhat.com> # afs
Signed-off-by: Chris von Recklinghausen <crecklin@redhat.com>
Bugzilla: http://bugzilla.redhat.com/1229736
Conflicts: Documentation conflicts
commit 2c547f299827c12244d613eb2ee3616d88f56088
Author: Yue Hu <huyue2@coolpad.com>
Date: Wed Apr 6 11:50:17 2022 +0800
fscache: Remove the cookie parameter from fscache_clear_page_bits()
The cookie is not used at all, remove it and update the usage in io.c
and afs/write.c (which is the only user outside of fscache currently)
at the same time.
[DH: Amended the documentation also]
Signed-off-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
Link: https://listman.redhat.com/archives/linux-cachefs/2022-April/006659.html
Signed-off-by: Jeffrey Layton <jlayton@redhat.com>