diff options
| author | 2021-02-24 12:02:38 -0800 | |
|---|---|---|
| committer | 2021-02-24 13:38:28 -0800 | |
| commit | aa1ec2f69780c5b9590143162101b6dc3dc1de5f (patch) | |
| tree | c0f27dadbbe76b6591efb89ece310639663fb8fe /include/linux | |
| parent | mm/filemap: restructure filemap_get_pages (diff) | |
| download | linux-dev-aa1ec2f69780c5b9590143162101b6dc3dc1de5f.tar.xz linux-dev-aa1ec2f69780c5b9590143162101b6dc3dc1de5f.zip | |
mm/filemap: don't relock the page after calling readpage
We don't need to get the page lock again; we just need to wait for the I/O
to finish, so use wait_on_page_locked_killable() like the other callers of
->readpage.
Link: https://lkml.kernel.org/r/20210122160140.223228-17-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Kent Overstreet <kent.overstreet@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
