qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* What is bs->reqs_lock for?
@ 2020-08-13 14:57 Vladimir Sementsov-Ogievskiy
  2020-08-13 15:54 ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2020-08-13 14:57 UTC (permalink / raw)
  To: qemu block
  Cc: Kevin Wolf, Paolo Bonzini, qemu-devel, Stefan Hajnoczi, Max Reitz

Hi!

Sorry my stupid question, but which kind of concurrent access bs->reqs_lock prevents?

In my understanding the whole logic of request tracking for the bs is going in the coroutine, so, we don't have parallel access anyway? How can parallel access to bs->tracked_requests happen?


-- 
Best regards,
Vladimir


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

end of thread, other threads:[~2020-08-19  9:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-13 14:57 What is bs->reqs_lock for? Vladimir Sementsov-Ogievskiy
2020-08-13 15:54 ` Paolo Bonzini
2020-08-13 16:34   ` Vladimir Sementsov-Ogievskiy
2020-08-18  6:16     ` Paolo Bonzini
2020-08-19  9:41       ` Vladimir Sementsov-Ogievskiy

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).