qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 11/11] Revert "graph-lock: Disable locking for now"


From: Paolo Bonzini
Subject: Re: [PATCH v2 11/11] Revert "graph-lock: Disable locking for now"
Date: Mon, 5 Jun 2023 11:06:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 6/5/23 10:57, Kevin Wolf wrote:
  void bdrv_graph_rdlock_main_loop(void)
@@ -296,18 +276,13 @@ void assert_bdrv_graph_readable(void)
  {
      /* reader_count() is slow due to aio_context_list_lock lock contention */
      /* TODO Reenable when wrlock is reenabled */

There's still a TODO here.

Paolo

-#if 0
  #ifdef CONFIG_DEBUG_GRAPH_LOCK
      assert(qemu_in_main_thread() || reader_count());
  #endif
-#endif
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]