summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-04-29 03:23:08 -0700
committerJens Axboe <axboe@kernel.dk>2024-05-13 21:47:51 -0600
commit9ead7efc6f3f2b46c4ec68209bca4888cfbd4c19 (patch)
tree0d37dea37e26de6b60b6072a928cd5c6c33f8d1b /include/trace
parent25260555b118e71c64dfdb6786144f654fe1a27d (diff)
brd: implement discard support
The ramdisk memory utilization can only go up when data is written to new pages. Implement discard to provide the possibility to reduce memory usage for pages no longer in use. Aligned discards will free the associated pages, if any, and determinisitically return zeroed data until written again. Signed-off-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/r/20240429102308.147627-1-kbusch@meta.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions