[PATCH v2 0/9] block: refactor write threshold

Vladimir Sementsov-Ogievskiy posted 9 patches 4 days, 14 hours ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210504082553.20377-1-vsementsov@virtuozzo.com
Maintainers: Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Fam Zheng <fam@euphon.net>, Stefan Hajnoczi <stefanha@redhat.com>
include/block/block_int.h         |  13 ----
include/block/write-threshold.h   |  25 ++-----
block.c                           |   1 -
block/io.c                        |  11 +--
block/write-threshold.c           | 110 +++++++-----------------------
tests/unit/test-write-threshold.c |  91 ++----------------------
6 files changed, 39 insertions(+), 212 deletions(-)

[PATCH v2 0/9] block: refactor write threshold

Posted by Vladimir Sementsov-Ogievskiy 4 days, 14 hours ago
Hi all!

This is a v2 for
"[PATCH] block: simplify write-threshold and drop write notifiers"
Supersedes: <20210421220950.105017-1-vsementsov@virtuozzo.com>

v2: split into several patches, improve thread-safety, more refactoring

Vladimir Sementsov-Ogievskiy (9):
  block/write-threshold: don't use write notifiers
  block: drop write notifiers
  test-write-threshold: rewrite test_threshold_(not_)trigger tests
  block/write-threshold: drop extra APIs
  block/write-threshold: don't use aio context lock
  test-write-threshold: drop extra tests
  test-write-threshold: drop extra TestStruct structure
  test-write-threshold: drop extra includes
  block/write-threshold: drop extra includes

 include/block/block_int.h         |  13 ----
 include/block/write-threshold.h   |  25 ++-----
 block.c                           |   1 -
 block/io.c                        |  11 +--
 block/write-threshold.c           | 110 +++++++-----------------------
 tests/unit/test-write-threshold.c |  91 ++----------------------
 6 files changed, 39 insertions(+), 212 deletions(-)

-- 
2.29.2