xfs: replace kmem_alloc_large() with kvmalloc()
authorDave Chinner <dchinner@redhat.com>
Mon, 9 Aug 2021 17:10:01 +0000 (10:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 9 Aug 2021 22:57:43 +0000 (15:57 -0700)
commitd634525db63e9e946c3229fb93c8d9b763afbaf3
treed021e49bd4c9b5dfc9fb1ef859c73a38c8bfb640
parent98fe2c3cef21b784e2efd1d9d891430d95b4f073
xfs: replace kmem_alloc_large() with kvmalloc()

There is no reason for this wrapper existing anymore. All the places
that use KM_NOFS allocation are within transaction contexts and
hence covered by memalloc_nofs_save/restore contexts. Hence we don't
need any special handling of vmalloc for large IOs anymore and
so special casing this code isn't necessary.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/kmem.c
fs/xfs/kmem.h
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/scrub/attr.c
fs/xfs/scrub/attr.h
fs/xfs/xfs_log.c
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_trace.h