On Mon, Jun 27, 2022 at 04:08:37PM +1000, Dave Chinner wrote:
From: Dave Chinner <dchinner@xxxxxxxxxx> 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 use integrate these
"let us"