diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-07-14 05:02:46 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-07-14 05:02:46 +0300 |
commit | de67dc575434dca8d60b1e181ed5dd296392ffce (patch) | |
tree | 7cbd0f2e80bd660b3875ea40015950f1c78da36b /scripts/gdb/linux/lists.py | |
parent | 85c73bf726e41be276bcad3325d9a8aef10be289 (diff) | |
download | linux-de67dc575434dca8d60b1e181ed5dd296392ffce.tar.xz |
xfs: break up xfs_buf_find() into individual pieces
xfs_buf_find() is made up of three main parts: lookup, insert and
locking. The interactions with xfs_buf_get_map() require it to be
called twice - once for a pure lookup, and again on lookup failure
so the insert path can be run. We want to simplify this down a lot,
so split it into a fast path lookup, a slow path insert and a "lock
the found buffer" helper. This will then let us integrate these
operations more effectively into xfs_buf_get_map() in future
patches.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions