Keith Busch 9ead7efc6f 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>
2024-05-13 21:47:51 -06:00
..
2024-03-11 11:43:44 -07:00
2024-03-11 11:43:44 -07:00
2024-05-13 21:47:51 -06:00
2023-01-04 14:44:13 -07:00
2024-03-11 11:43:44 -07:00