diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:43:21 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:43:21 -0800 |
commit | 5076a6040ca1613e616d84aecfaac5f932db84e0 (patch) | |
tree | 194bbc76321d6906f68b651b94ab1c4f48c44097 /fs/xfs/xfs_fsmap.c | |
parent | e7b58f7c1be20550d4f51cec6307b811e7555f52 (diff) | |
download | linux-stable-5076a6040ca1613e616d84aecfaac5f932db84e0.tar.gz linux-stable-5076a6040ca1613e616d84aecfaac5f932db84e0.tar.bz2 linux-stable-5076a6040ca1613e616d84aecfaac5f932db84e0.zip |
xfs: support in-memory buffer cache targets
Allow the buffer cache to target in-memory files by making it possible
to have a buftarg that maps pages from private shmem files. As the
prevous patch alludes, the in-memory buftarg contains its own cache,
points to a shmem file, and does not point to a block_device.
The next few patches will make it possible to construct an xfs_btree in
pageable memory by using this buftarg.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_fsmap.c')
0 files changed, 0 insertions, 0 deletions