OSDN Git Service

splice: Use a folio in page_cache_pipe_buf_try_steal()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 12 Feb 2022 04:39:03 +0000 (23:39 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:01 +0000 (12:59 -0400)
commitb9ccad2e5d385ceaa19b5c05cf69a09de02eb35a
treec201d0a7b00c22973862e02485e8ef51f5c80050
parentbe7c07d60e13ac1c3611de93be2e866af8e635d7
splice: Use a folio in page_cache_pipe_buf_try_steal()

This saves a lot of calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
fs/splice.c