Skip to content

Commit

Permalink
Merge tag 'pull-parallels-2023-09-20' of https://src.openvz.org/scm/~…
Browse files Browse the repository at this point in the history
…den/qemu into staging

Parallels format driver:
* regular calculation of cluster used bitmap of the image file
* cluster allocation on the base of that bitmap (effectively allocation of
  new clusters could be done inside the image if that offset space is unused)
* support of DISCARD and WRITE_ZEROES operations
* image check bugfixes
* unit tests fixes
* unit tests covering new functionality

# -----BEGIN PGP SIGNATURE-----
#
# iQHDBAABCgAtFiEE9vE2f3B8+RUZInytPzClrpN3nJ8FAmUKtN4PHGRlbkBvcGVu
# dnoub3JnAAoJED8wpa6Td5yfUZ4L/RPGuWIgxeMqGUnWFh66OAb+pZYHy2MJu/Vz
# 5iAk6998L7ZJgrbX9m0GavMsppSscw7FI+RLFL8SQuzPzuWsV+9lJNnnwpaQ5Awo
# sR+LavmdDIJqfnz3rSILKI7JiEffoVj7bfxMdDD5iaxoEyQWg/9Rd2MehyA/j2Jg
# m1FAsfn09ysbaJ6UC8AsVIB7NpKU9eDDcL70yBWOyYFS5upz8Aagp54ieOgY9f9/
# dEDporbjZpkfptVq6tSblChe/2D1SEOoLXcroY8UbKCn0Sr3BI6vPBx0xhVLVn8h
# kF/I3QE/Q+hMxFcOJGJJ9pOb77espQ7BNYR248hJEOx98508BHGkE4mNd816dFBC
# 0vBlNwRbgw6o562fQCXTZmuMySkva2wDjSarRSYF6vfpWK13GRR6B5tXmC5BYQ9a
# PYqlMWOjW0Oaf1YAe4oiQiijLsHo4jx3Ra08JZDVLXzeLqkms8z5DZF1LE6EbWo1
# DFSInx5rtJaIQ5K2Lv8Amot+zrBX2Q==
# =jUP7
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 20 Sep 2023 05:01:18 EDT
# gpg:                using RSA key F6F1367F707CF91519227CAD3F30A5AE93779C9F
# gpg:                issuer "den@openvz.org"
# gpg: Good signature from "Denis V. Lunev <den@openvz.org>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: F6F1 367F 707C F915 1922  7CAD 3F30 A5AE 9377 9C9F

* tag 'pull-parallels-2023-09-20' of https://src.openvz.org/scm/~den/qemu: (22 commits)
  tests: extend test 131 to cover availability of the write-zeroes
  parallels: naive implementation of parallels_co_pwrite_zeroes
  tests: extend test 131 to cover availability of the discard operation
  parallels: naive implementation of parallels_co_pdiscard
  parallels: improve readability of allocate_clusters
  parallels: naive implementation of allocate_clusters with used bitmap
  parallels: update used bitmap in allocate_cluster
  parallels: accept multiple clusters in mark_used()
  tests: test self-cure of parallels image with duplicated clusters
  tests: fix broken deduplication check in parallels format test
  parallels: collect bitmap of used clusters at open
  parallels: add test which will validate data_off fixes through repair
  parallels: fix broken parallels_check_data_off()
  tests: ensure that image validation will not cure the corruption
  parallels: create mark_used() helper which sets bit in used bitmap
  parallels: refactor path when we need to re-check image in parallels_open
  parallels: return earlier from parallels_open() function on error
  parallels: return earler in fail_format branch in parallels_open()
  parallels: invent parallels_opts_prealloc() helper to parse prealloc opts
  parallels: fix memory leak in parallels_open()
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
  • Loading branch information
stefanhaRH committed Sep 20, 2023
2 parents a05edc7 + ead1064 commit 3eb8dbd
Show file tree
Hide file tree
Showing 6 changed files with 544 additions and 101 deletions.

0 comments on commit 3eb8dbd

Please sign in to comment.