05.05.2021 17:28, Max Reitz wrote:
On 04.05.21 10:25, Vladimir Sementsov-Ogievskiy wrote:
These tests use bdrv_write_threshold_exceeded() API, which is used only
for test.
Well, now. That used to be different before patch 1.
Better is testing real API, which is used in block.c as well.
On 04.05.21 10:25, Vladimir Sementsov-Ogievskiy wrote:
These tests use bdrv_write_threshold_exceeded() API, which is used only
for test.
Well, now. That used to be different before patch 1.
Better is testing real API, which is used in block.c as well.
So, let's call
These tests use bdrv_write_threshold_exceeded() API, which is used only
for test. Better is testing real API, which is used in block.c as well.
So, let's call bdrv_write_threshold_check_write(), and check is
bs->write_threshold_offset cleared or not (it's cleared iff threshold
triggered).
Also