Christoph Hellwig c37d6ed874 xfs: unwind xfs_extent_busy_clear
The current structure of xfs_extent_busy_clear that locks the first busy
extent in each AG and unlocks when switching to a new AG makes sparse
unhappy as the lock critical section tracking can't cope with taking the
lock conditionally and inside a loop.

Rewrite xfs_extent_busy_clear so that it has an outer loop only advancing
when moving to a new AG, and an inner loop that consumes busy extents for
the given AG to make life easier for sparse and to also make this logic
more obvious to humans.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
2024-04-22 12:53:34 +05:30
..
2024-02-22 12:43:35 -08:00
2024-04-15 14:58:58 -07:00
2024-04-15 14:58:53 -07:00
2024-03-13 13:52:24 -07:00
2024-02-22 12:40:12 -08:00
2024-01-10 08:45:22 -08:00
2023-12-07 14:51:07 +05:30
2024-02-22 12:43:35 -08:00
2024-04-22 12:51:43 +05:30
2024-04-15 14:59:02 -07:00
2024-02-17 09:32:32 +05:30
2024-04-15 14:58:53 -07:00