]> www.infradead.org Git - nvme.git/commit
erofs: support multi-page folios for erofs_bread()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 23 Jul 2024 07:30:24 +0000 (15:30 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 26 Jul 2024 10:47:57 +0000 (18:47 +0800)
commit5d3bb77e5fce1d224b94da31abae0a7afed54735
tree16e98d0a9988e11db9b9e1d29e616493b7d47106
parent684b290abc774202ff88897648f24520f40c916b
erofs: support multi-page folios for erofs_bread()

If the requested page is part of the previous multi-page folio, there
is no need to call read_mapping_folio() again.

Also, get rid of the remaining one of page->index [1] in our codebase.

[1] https://lore.kernel.org/r/Zp8fgUSIBGQ1TN0D@casper.infradead.org

Cc: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240723073024.875290-1-hsiangkao@linux.alibaba.com
fs/erofs/data.c