qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] df3a42: gluster: add support for PREALLOC_MOD


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] df3a42: gluster: add support for PREALLOC_MODE_FALLOC
Date: Fri, 02 Jun 2017 09:38:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: df3a429ae82c0f45becdfab105617701d75e0f05
      
https://github.com/qemu/qemu/commit/df3a429ae82c0f45becdfab105617701d75e0f05
  Author: Niels de Vos <address@hidden>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M block/gluster.c
    M configure

  Log Message:
  -----------
  gluster: add support for PREALLOC_MODE_FALLOC

Add missing support for "preallocation=falloc" to the Gluster block
driver. This change bases its logic on that of block/file-posix.c and
removed the gluster_supports_zerofill() and qemu_gluster_zerofill()
functions in favour of #ifdef checks in an easy to read
switch-statement.

Both glfs_zerofill() and glfs_fallocate() have been introduced with
GlusterFS 3.5.0 (pkg-config glusterfs-api = 6). A #define for the
availability of glfs_fallocate() has been added to ./configure.

Reported-by: Satheesaran Sundaramoorthi <address@hidden>
Signed-off-by: Niels de Vos <address@hidden>
Message-id: address@hidden
URL: https://bugzilla.redhat.com/1450759
Signed-off-by: Niels de Vos <address@hidden>
Signed-off-by: Jeff Cody <address@hidden>


  Commit: e32fb6da7e479e644d0de4d2f4fac76fa2efb46f
      
https://github.com/qemu/qemu/commit/e32fb6da7e479e644d0de4d2f4fac76fa2efb46f
  Author: Peter Maydell <address@hidden>
  Date:   2017-06-02 (Fri, 02 Jun 2017)

  Changed paths:
    M block/gluster.c
    M configure

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

# gpg: Signature made Fri 02 Jun 2017 16:32:39 BST
# gpg:                using RSA key 0xBDBE7B27C0DE3057
# gpg: Good signature from "Jeffrey Cody <address@hidden>"
# gpg:                 aka "Jeffrey Cody <address@hidden>"
# gpg:                 aka "Jeffrey Cody <address@hidden>"
# Primary key fingerprint: 9957 4B4D 3474 90E7 9D98  D624 BDBE 7B27 C0DE 3057

* remotes/cody/tags/block-pull-request:
  gluster: add support for PREALLOC_MODE_FALLOC

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


Compare: https://github.com/qemu/qemu/compare/1448228af3f4...e32fb6da7e47

reply via email to

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