[LU-16292] ERROR: modpost: "delete_from_page_cache" undefined Created: 03/Nov/22 Updated: 28/Mar/23 Resolved: 08/Feb/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | Shaun Tancheff |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Kernel v5.16-rc4-44-g452e9e6992fe: commit 452e9e6992fe058a650c81d01a9982e3faf10278
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
AuthorDate: Sun May 9 09:33:42 2021 -0400
Commit: Matthew Wilcox (Oracle) <willy@infradead.org>
CommitDate: Tue Jan 4 13:15:33 2022 -0500
filemap: Add filemap_remove_folio and __filemap_remove_folio
Reimplement __delete_from_page_cache() as a wrapper around
__filemap_remove_folio() and delete_from_page_cache() as a wrapper
around filemap_remove_folio(). Remove the EXPORT_SYMBOL as
delete_from_page_cache() was not used by any in-tree modules.
Convert page_cache_free_page() into filemap_free_folio().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Lustre build failed: ERROR: modpost: "delete_from_page_cache" [/tmp/rpmbuild-lustre-jenkins-NkFDQasu/BUILD/lustre-2.15.52_64_g2647af4/lustre/llite/lustre.ko] undefined! ERROR: modpost: "delete_from_page_cache" [/tmp/rpmbuild-lustre-jenkins-NkFDQasu/BUILD/lustre-2.15.52_64_g2647af4/lustre/mdc/mdc.ko] undefined! |
| Comments |
| Comment by Jian Yu [ 03/Nov/22 ] |
|
Hi stancheff, did you hit this issue and have a fix for it? |
| Comment by Shaun Tancheff [ 03/Nov/22 ] |
|
Yes, this is an issue. So far I do not have better solution that to remove the call when it is not available. |
| Comment by Gerrit Updater [ 08/Nov/22 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49069 |
| Comment by Gerrit Updater [ 10/Nov/22 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49121 |
| Comment by Gerrit Updater [ 08/Feb/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49069/ |
| Comment by Peter Jones [ 08/Feb/23 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 28/Mar/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49121/ |