diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-07-14 05:04:31 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-07-14 05:04:31 +0300 |
commit | 348000804a0f4dea74219a927e081d6e7dee792f (patch) | |
tree | cdb6317df3455453cc434a7d4b064ab3162119a1 /fs/xfs/xfs_trans.h | |
parent | de67dc575434dca8d60b1e181ed5dd296392ffce (diff) | |
download | linux-348000804a0f4dea74219a927e081d6e7dee792f.tar.xz |
xfs: merge xfs_buf_find() and xfs_buf_get_map()
Now that we factored xfs_buf_find(), we can start separating into
distinct fast and slow paths from xfs_buf_get_map(). We start by
moving the lookup map and perag setup to _get_map(), and then move
all the specifics of the fast path lookup into xfs_buf_lookup()
and call it directly from _get_map(). We the move all the slow path
code to xfs_buf_find_insert(), which is now also called directly
from _get_map(). As such, xfs_buf_find() now goes away.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
0 files changed, 0 insertions, 0 deletions