diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-08 15:55:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-01-30 20:59:41 +0000 |
commit | 18fbd0dec7e05183d7fef636155cd9b3e2ac5013 (patch) | |
tree | 3ef00a36df11e96aa31df46fdcd30cdb720ab7cf /block/file-posix.c | |
parent | c53cb427695214a9cb53e8ace4307c91a6b6e406 (diff) |
block/io: wait for serialising requests when a request becomes serialising
Marking without waiting would not result in actual serialising behavior.
Thus, make a call bdrv_mark_request_serialising sufficient for
serialisation to happen.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1578495356-46219-3-git-send-email-pbonzini@redhat.com
Message-Id: <1578495356-46219-3-git-send-email-pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/file-posix.c')
-rw-r--r-- | block/file-posix.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/file-posix.c b/block/file-posix.c index 1b805bd938..2b08b02d27 100644 --- a/block/file-posix.c +++ b/block/file-posix.c @@ -2753,7 +2753,6 @@ raw_do_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int bytes, req->overlap_bytes = req->bytes; bdrv_mark_request_serialising(req, bs->bl.request_alignment); - bdrv_wait_serialising_requests(req); } #endif |