commit | 328f9748a2061060126e4a9c9439a218b00508d8 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Fri Dec 20 13:21:46 2024 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Jan 14 13:34:08 2025 -0800 |
tree | 142563d188772e8db134730c4c32a5d548b7ed50 | |
parent | 3a92ff006fa813b0f9e1a895866ab89f4f0abf6a [diff] |
libxfs: unmap xmbuf pages to avoid disaster It turns out that there's a maximum mappings count, so we need to be smartish about not overflowing that with too many xmbuf buffers. This needs to be a global value because high-agcount filesystems will create a large number of xmbuf caches but this is a process-global limit. Fixes: 124b388dac17f5 ("libxfs: support in-memory buffer cache targets") Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>