[Devel] [PATCH rh7 0/5] cbt: fix page allocation and add blk_cbt_map_copy_once() helper

Maxim Patlasov mpatlasov at virtuozzo.com
Fri Apr 8 18:49:53 PDT 2016


The first part of the patch set fixes a bug: it's not valid to call
alloc_page with disabled irqs (hidden inside on_each_cpu internals).

The remaining part (last patch) implements blk_cbt_map_copy_once() --
a helper for ploop making a private "snapshot" copy of CBT mask.

https://jira.sw.ru/browse/PSBM-45000

---

Maxim Patlasov (5):
      cbt: factor out alloc_page
      cbt: introduce CBT_PAGE_MISSED
      cbt: make __blk_cbt_set() smarter
      cbt: fix page allocation
      cbt: add blk_cbt_map_copy_once() helper


 block/blk-cbt.c        |  247 ++++++++++++++++++++++++++++++++++++++----------
 include/linux/blkdev.h |    2 
 2 files changed, 195 insertions(+), 54 deletions(-)

--
Signature


More information about the Devel mailing list