qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ba3186: curl: do not use aio_context_acquire/


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] ba3186: curl: do not use aio_context_acquire/release
Date: Tue, 28 Feb 2017 02:45:09 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ba3186c4e473963ba83b5792f3d02d4ac0a76ba5
      
https://github.com/qemu/qemu/commit/ba3186c4e473963ba83b5792f3d02d4ac0a76ba5
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M block/curl.c

  Log Message:
  -----------
  curl: do not use aio_context_acquire/release

Now that all bottom halves and callbacks take care of taking the
AioContext lock, we can migrate some users away from it and to a
specific QemuMutex or CoMutex.

Protect BDRVCURLState access with a QemuMutex.

Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 37d1e4d9bfac846a1331375aab3d13b54a048c01
      
https://github.com/qemu/qemu/commit/37d1e4d9bfac846a1331375aab3d13b54a048c01
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M block/nfs.c

  Log Message:
  -----------
  nfs: do not use aio_context_acquire/release

Now that all bottom halves and callbacks take care of taking the
AioContext lock, we can migrate some users away from it and to a
specific QemuMutex or CoMutex.

Protect libnfs calls with a QemuMutex.  Callbacks are invoked
using bottom halves, so we don't even have to drop it around
callback invocations.

Signed-off-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: d045c466d9e62b4321fadf586d024d54ddfd8bd4
      
https://github.com/qemu/qemu/commit/d045c466d9e62b4321fadf586d024d54ddfd8bd4
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  iscsi: do not use aio_context_acquire/release

Now that all bottom halves and callbacks take care of taking the
AioContext lock, we can migrate some users away from it and to a
specific QemuMutex or CoMutex.

Protect libiscsi calls with a QemuMutex.  Callbacks are invoked
using bottom halves, so we don't even have to drop it around
callback invocations.

Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd
      
https://github.com/qemu/qemu/commit/1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M tests/test-aio-multithread.c

  Log Message:
  -----------
  tests-aio-multithread: use atomic_read properly

nodes[id].next is written by other threads.  If atomic_read is not used
(matching atomic_set in mcs_mutex_lock!) the compiler can optimize the
whole "if" away!

Reported-by: Alex Bennée <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Tested-by: Greg Kurz <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 6181478f6395cdd9d6ffd99623d0c9f39ea53606
      
https://github.com/qemu/qemu/commit/6181478f6395cdd9d6ffd99623d0c9f39ea53606
  Author: Peter Maydell <address@hidden>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M block/curl.c
    M block/iscsi.c
    M block/nfs.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into 
staging

# gpg: Signature made Mon 27 Feb 2017 16:33:23 GMT
# gpg:                using RSA key 0x9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <address@hidden>"
# gpg:                 aka "Stefan Hajnoczi <address@hidden>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/block-pull-request:
  tests-aio-multithread: use atomic_read properly
  iscsi: do not use aio_context_acquire/release
  nfs: do not use aio_context_acquire/release
  curl: do not use aio_context_acquire/release

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/9b9fbe8a4e9e...6181478f6395

reply via email to

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