Darrick J. Wong e7b58f7c1b xfs: teach buftargs to maintain their own buffer hashtable
Currently, cached buffers are indexed by per-AG hashtables.  This works
great for the data device, but won't work for in-memory btrees.  To
handle that use case, buftargs will need to be able to index buffers
independently of other data structures.

We accomplish this by hoisting the rhashtable and its lock into a
separate xfs_buf_cache structure, make the buftarg point to the
_buf_cache structure, and rework various functions to use it.  This
will enable the in-memory buftarg to come up with its own _buf_cache.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-02-22 12:42:58 -08:00
..
2023-12-15 10:03:32 -08:00
2024-02-22 12:40:51 -08:00
2023-12-15 10:03:32 -08:00
2023-12-29 13:37:05 +05:30
2023-12-15 10:03:37 -08:00
2024-02-22 12:40:51 -08:00
2023-12-15 10:03:32 -08:00
2024-02-22 12:40:51 -08:00
2024-02-22 12:40:51 -08:00