summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorColy Li <colyli@fnnas.com>2025-11-13 13:36:22 +0800
committerJens Axboe <axboe@kernel.dk>2025-11-13 09:18:06 -0700
commit0c72e9fcc156caaf123a6291321bc9bd74cd1b61 (patch)
tree06ae437e856a31d3a8b723fc77a2b97a45c3fc5e /tools/lib/python/kdoc/kdoc_files.py
parent7b2038b1b1d4322a851ce7ee378ebf85a03bb1a1 (diff)
bcache: get rid of discard code from journal
In bcache journal there is discard functionality but almost useless in reality. Because discard happens after a journal bucket is reclaimed, and the reclaimed bucket is allocated for new journaling immediately. There is no time for underlying SSD to use the discard hint for internal data management. The discard code in bcache journal doesn't bring any performance optimization and wastes CPU cycles for issuing discard bios. Therefore this patch gits rid of it from journal.c and journal.h. Signed-off-by: Coly Li <colyli@fnnas.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions