qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] block/io: serialising request clean up and locking fix
@ 2020-01-08 14:55 Paolo Bonzini
  2020-01-08 14:55 ` [PATCH v2 1/3] block: eliminate BDRV_REQ_NO_SERIALISING Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Paolo Bonzini @ 2020-01-08 14:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, qemu-block

Peter Lieven noticed that reqs->overlap_offset and reqs->overlap_bytes
are written outside bs->reqs_lock.  Patch 3 fixes it, while patches 1
and 2 are preparatory cleanups.

v1->v2: fix comment in patch 2, commit message in patch 3 [Kevin]

Paolo Bonzini (3):
  block: eliminate BDRV_REQ_NO_SERIALISING
  block/io: wait for serialising requests when a request becomes
    serialising
  block/io: take bs->reqs_lock in bdrv_mark_request_serialising

 block/file-posix.c        |   1 -
 block/io.c                | 162 +++++++++++++++++++++++-----------------------
 include/block/block.h     |  12 ----
 include/block/block_int.h |   3 +-
 4 files changed, 81 insertions(+), 97 deletions(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-14 19:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 14:55 [PATCH v2 0/3] block/io: serialising request clean up and locking fix Paolo Bonzini
2020-01-08 14:55 ` [PATCH v2 1/3] block: eliminate BDRV_REQ_NO_SERIALISING Paolo Bonzini
2020-01-08 14:55 ` [PATCH v2 2/3] block/io: wait for serialising requests when a request becomes serialising Paolo Bonzini
2020-01-08 14:55 ` [PATCH v2 3/3] block/io: take bs->reqs_lock in bdrv_mark_request_serialising Paolo Bonzini
2020-01-14 16:28 ` [PATCH v2 0/3] block/io: serialising request clean up and locking fix Stefan Hajnoczi
2020-01-14 19:39   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).