]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfs: use alloc_pages_bulk_array() for buffers
authorDave Chinner <dchinner@redhat.com>
Tue, 1 Jun 2021 03:40:36 +0000 (13:40 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 1 Jun 2021 03:40:36 +0000 (13:40 +1000)
commitc9fa563072e13337713a441cf30171feb4e96e6d
treebca957be64a66fca4339988c6565b39b72279225
parent07b5c5add42a0afccf79401b12d78043ed6b8240
xfs: use alloc_pages_bulk_array() for buffers

Because it's more efficient than allocating pages one at a time in a
loop.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c