Re: [PATCH] mm/filemap: Use filemap_read_page in filemap_fault

From
Andrew Morton <akpm@linux-foundation.org>
Date
2021-03-03 05:38:13
Also in
linux-fsdevel
Reply to
Matthew Wilcox (Oracle), 2021-02-26
On Fri, 26 Feb 2021 14:00:11 +0000 "Matthew Wilcox (Oracle)" [off-list ref] wrote:
After splitting generic_file_buffered_read() into smaller parts, it
turns out we can reuse one of the parts in filemap_fault().  This fixes
an oversight -- waiting for the I/O to complete is now interruptible
by a fatal signal.  And it saves us a few bytes of text in an unlikely
path.
We also handle AOP_TRUNCATED_PAGE which the present code fails to do. 
Should this be in the changelog?

Did we handle AOP_TRUNCATED_PAGE in the pre-splitup code, or is this new?


Thread (9 messages) 9 messages, 2 authors, last reply 2021-03-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help