diff options
| author | Henry Wong <henry@stuffedcow.net> | 2026-09-07 14:46:47 -0700 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-09-21 12:52:05 +0200 |
| commit | 28e78fd0d2c915971508642483b54f1c25bda673 (patch) | |
| tree | 3723d7f0df7d864866d0bd9a196844ec032cc280 /tools/lib/python/kdoc/python_version.py | |
| parent | c69cc511362ab8c8219bbecac3723bfe1ff2acac (diff) | |
dm-writecache: Reduce metadata memory use by 8 bytes per cache block
wc_entry.index removed: This can be computed by pointer arithmetic
without storage.
wc_entry.age reduced to 32 bits: It only needs to be big enough to hold
max_age, which is limited to well below 32-bit range.
Reduces wc_entry size from 56 bytes to 48 bytes (from 72 to 64 bytes if
DM_WRITECACHE_HANDLE_HARDWARE_ERRORS enabled).
Signed-off-by: Henry Wong <henry@stuffedcow.net>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
