]> www.infradead.org Git - users/willy/pagecache.git/commit
cramfs: read_mapping_page() is synchronous
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 12:54:42 +0000 (08:54 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commit0ba02b002594cc1809da3a05a44bb5b9654448f6
tree99604b7a15694df94bb762e1e4ae79c4945c4139
parent437084d7c5b825e714d0b50ba6624e6ba840fa32
cramfs: read_mapping_page() is synchronous

Since commit 67f9fd91f93c, the code to wait for the read to complete has
been dead.  That commit wrongly stated that the read was synchronous
already; this seems to have been a confusion about which ->readpage
operation was being called.  Instead of reintroducing an asynchronous
version of read_mapping_page(), call the readahead code directly to
submit all reads first before waiting for them in read_mapping_page().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/cramfs/inode.c