Skip to content

optimize buffer cleanup in the ebs target

Mikulas Patocka dm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dm-bufio: clean up rbtree block orderingdrivers/md/dm-bufio.c+3 -30 replies
2/3dm-bufio: introduce forget_buffer_lockeddrivers/md/dm-bufio.c include/linux/dm-bufio.h+63 -40 replies
3/3dm-ebs: use dm_bufio_forget_buffersdrivers/md/dm-ebs-target.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] optimize buffer cleanup in the ebs target

Hi

These patches add a new function dm_bufio_forger_buffers and use it in the dm-ebs target. It is more efficient than calling dm_bufio_forget in a loop. The loop could cause excessive CPU consumption when discarding a larget range.

Mikulas