Whamcloud - gitweb
LU-16292 llite: delete_from_page_cache not exported 69/49069/14
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 19 Jan 2023 07:38:02 +0000 (01:38 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Feb 2023 06:27:16 +0000 (06:27 +0000)
commit738e69d4b97d28ef037fe50f4146aabead9a2528
tree71ec131a78fb4fd7cdceba5b5a5821561e42d5e7
parentb13a5b351e71e4e7b0016e2a1426b1a21bf783c4
LU-16292 llite: delete_from_page_cache not exported

Linux commit v5.16-rc4-44-g452e9e6992fe
filemap: Add filemap_remove_folio and __filemap_remove_folio

Directly removing a folio/page from the page cache is not
available.

Fallback to generic_error_remove_page for regular files,
and truncate_inode_pages_range as appropriate.

Test-Parameters: trivial
HPE-bug-id: LUS-11198
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I634e7d7719d497ce035a78b424be8e9e8c5a8104
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49069
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/dir.c
lustre/mdc/mdc_request.c