[PATCH 0/3] dm-pcache: minor cleanups

From: jianyungao89

Date: Fri Jul 17 2026 - 04:43:00 EST


From: Jianyun Gao <jianyungao89@xxxxxxxxx>

A few small optimizations for dm-pcache:
- Fix ASCII diagram alignment in comments by replacing tabs with spaces
- Simplify cache_seg_remain() by removing redundant local variables
- Remove unused 'allocated' variable in cache_data_alloc()

Jianyun Gao (3):
dm-pcache: replace tabs with spaces in comments to fix ASCII diagram
alignment
dm-pcache: simplify cache_seg_remain()
dm-pcache: remove unused 'allocated' variable in cache_data_alloc()

drivers/md/dm-pcache/cache.h | 14 +++-----------
drivers/md/dm-pcache/cache_key.c | 2 +-
drivers/md/dm-pcache/cache_req.c | 19 ++++++++-----------
3 files changed, 12 insertions(+), 23 deletions(-)

--
2.34.1