qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 042b75: block/file-posix: add bdrv_attach_aio


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 042b75: block/file-posix: add bdrv_attach_aio_context call...
Date: Tue, 24 Jul 2018 08:14:18 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 042b757cc77c9580b99ef2781cfb0a2d1bf495a6
      
https://github.com/qemu/qemu/commit/042b757cc77c9580b99ef2781cfb0a2d1bf495a6
  Author: Nishanth Aravamudan <address@hidden>
  Date:   2018-07-24 (Tue, 24 Jul 2018)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  block/file-posix: add bdrv_attach_aio_context callback for host dev and cdrom

In ed6e2161 ("linux-aio: properly bubble up errors from initialzation"),
I only added a bdrv_attach_aio_context callback for the bdrv_file
driver. There are several other drivers that use the shared
aio_plug callback, though, and they will trip the assertion added to
aio_get_linux_aio because they did not call aio_setup_linux_aio first.
Add the appropriate callback definition to the affected driver
definitions.

Fixes: ed6e2161 ("linux-aio: properly bubble up errors from initialization")
Reported-by: Farhan Ali <address@hidden>
Signed-off-by: Nishanth Aravamudan <address@hidden>
Reviewed-by: John Snow <address@hidden>
Message-id: address@hidden
Cc: Eric Blake <address@hidden>
Cc: Kevin Wolf <address@hidden>
Cc: John Snow <address@hidden>
Cc: Max Reitz <address@hidden>
Cc: Stefan Hajnoczi <address@hidden>
Cc: Fam Zheng <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Cc: address@hidden
Cc: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 3bae150448dbd888a480f892ebbf01caec0d8329
      
https://github.com/qemu/qemu/commit/3bae150448dbd888a480f892ebbf01caec0d8329
  Author: Peter Maydell <address@hidden>
  Date:   2018-07-24 (Tue, 24 Jul 2018)

  Changed paths:
    M block/file-posix.c

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

Pull request

Regression fix for host block devices with the file-posix driver when 
aio=native is in use.

# gpg: Signature made Tue 24 Jul 2018 15:22:49 BST
# gpg:                using RSA key 9CA4ABB381AB73C8
# 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:
  block/file-posix: add bdrv_attach_aio_context callback for host dev and cdrom

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


Compare: https://github.com/qemu/qemu/compare/0a7052bb75da...3bae150448db
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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