Currently blk-cbt use UUID as a name. This is a big limitation.
We are going to expose bitmap names to libvirt, so we should
not expect users to follow this. Moreover, even VHI backup
utilities use non-UUID names sometimes. Technically QEMU
allows us bitmap names up to 1024 bytes, but 128 should be
fine.
Multiple simultaneous bitmaps are needed for backup plans,
so allow them.
Add new API to list bitmap names, adjust most of the API to
make operations on bitmap with user-provided name.

Andrey Zhadchenko (3):
  block/blk-cbt: rework uuid field
  block/blk-cbt: allow multiple cbts in a single queue
  block/blk-cbt: add BLKCBTLIST ioctl

 block/blk-cbt.c         | 240 ++++++++++++++++++++++++----------------
 block/blk-core.c        |   2 +
 block/ioctl.c           |   1 +
 include/linux/blkdev.h  |   2 +-
 include/uapi/linux/fs.h |  19 +++-
 5 files changed, 163 insertions(+), 101 deletions(-)

-- 
2.39.3

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to