Skip to contentSkip to conversation

optimize buffer cleanup in the ebs target

PATCH New Mikulas Patocka 1 participant 1 message Jun 2, 2020 Device mapper

lore
Share & tools
lore

Mikulas Patocka

author maintainer
#0 lore raw

cover 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