qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 947eb2: block/gluster: add support for SEEK_D


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 947eb2: block/gluster: add support for SEEK_DATA/SEEK_HOLE
Date: Wed, 29 Jun 2016 11:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 947eb2030eef73b7a66167a6244b11eeb4f109ff
      
https://github.com/qemu/qemu/commit/947eb2030eef73b7a66167a6244b11eeb4f109ff
  Author: Niels de Vos <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/gluster.c

  Log Message:
  -----------
  block/gluster: add support for SEEK_DATA/SEEK_HOLE

GlusterFS 3.8 contains support for SEEK_DATA and SEEK_HOLE. This makes
it possible to detect sparse areas in files.

Signed-off-by: Niels de Vos <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>


  Commit: 38f8d5e0251ae7d8257cf099cb3e5a375ef60378
      
https://github.com/qemu/qemu/commit/38f8d5e0251ae7d8257cf099cb3e5a375ef60378
  Author: Peter Lieven <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/nfs.c

  Log Message:
  -----------
  block/nfs: refuse readahead if cache.direct is on

if we open a NFS export with disabled cache we should refuse
the readahead feature as it will cache data inside libnfs.

If a export was opened with readahead enabled it should
futher not be allowed to disable the cache while running.

Cc: address@hidden
Signed-off-by: Peter Lieven <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: d99b26c42a1375e41404b69c3214459e929af4e3
      
https://github.com/qemu/qemu/commit/d99b26c42a1375e41404b69c3214459e929af4e3
  Author: Peter Lieven <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/nfs.c

  Log Message:
  -----------
  block/nfs: add support for libnfs pagecache

upcoming libnfs will have support for a read cache that can
significantly help to speed up requests since libnfs by design
circumvents the kernel cache.

Example:
 qemu -cdrom nfs://127.0.0.1/iso/my.iso?pagecache=1024

The pagecache parameters takes the maximum amount of pages to
cache.  A page in libnfs is always the NFS_BLKSIZE which is
4KB.

Signed-off-by: Peter Lieven <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: ff04198bf576beac5793c445c008ccc9d48f87d5
      
https://github.com/qemu/qemu/commit/ff04198bf576beac5793c445c008ccc9d48f87d5
  Author: Denis V. Lunev <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/mirror.c

  Log Message:
  -----------
  mirror: fix trace_mirror_yield_in_flight usage in mirror_iteration()

trace_mirror_yield_in_flight accepts 2nd arguments in sectors while here
we pass chunks instead.

Signed-off-by: Denis V. Lunev <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
CC: Jeff Cody <address@hidden>
CC: Kevin Wolf <address@hidden>
CC: Max Reitz <address@hidden>
Signed-off-by: Jeff Cody <address@hidden>


  Commit: 7eac868a508cdbf4cccef5c2084941b63fa3aded
      
https://github.com/qemu/qemu/commit/7eac868a508cdbf4cccef5c2084941b63fa3aded
  Author: Jeff Cody <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/gluster.c

  Log Message:
  -----------
  block/gluster: add support for selecting debug logging level

This adds commandline support for the logging level of the
gluster protocol driver, output to stdout.  The option is 'debug',
e.g.:

-drive filename=gluster://192.168.15.180/gv2/test.qcow2,debug=9

Debug levels are 0-9, with 9 being the most verbose, and 0 representing
no debugging output.  The default is the same as it was before, which
is a level of 4.  The current logging levels defined in the gluster
source are:

    0 - None
    1 - Emergency
    2 - Alert
    3 - Critical
    4 - Error
    5 - Warning
    6 - Notice
    7 - Info
    8 - Debug
    9 - Trace

(From: glusterfs/logging.h)

Reviewed-by: Niels de Vos <address@hidden>
Signed-off-by: Jeff Cody <address@hidden>


  Commit: 176129552f78bcb99022036d3293c6593c9716c3
      
https://github.com/qemu/qemu/commit/176129552f78bcb99022036d3293c6593c9716c3
  Author: John Snow <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/mirror.c

  Log Message:
  -----------
  mirror: clarify mirror_do_read return code

mirror_do_read intends to return the number of sectors processed after
the starting sector, without regard to how many sectors were processed
before the starting sector due to alignment.

Clean up the comments and code to hopefully illustrate this more clearly.

This also fixes an issue in initialization where if the mirror buffer size
is initialized to smaller than the number of sectors being requested for
transfer, we report back an incorrectly large number to the caller.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: e4808881cbbe8ee9b587a49dd5fabd88375affd6
      
https://github.com/qemu/qemu/commit/e4808881cbbe8ee9b587a49dd5fabd88375affd6
  Author: John Snow <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/mirror.c

  Log Message:
  -----------
  mirror: limit niov to IOV_MAX elements, again

During the refactor of mirror_iteration in e5b43573,
we regressed the fix introduced in cae98cb8.

This patch re-adds IOV_MAX checking to cases where we
aren't checking alignment (and size) already.

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: ccee3d8f97781515ed40356f1e6a7a233dd466b8
      
https://github.com/qemu/qemu/commit/ccee3d8f97781515ed40356f1e6a7a233dd466b8
  Author: John Snow <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M tests/qemu-iotests/041
    M tests/qemu-iotests/041.out

  Log Message:
  -----------
  iotests: add small-granularity mirror test

Signed-off-by: John Snow <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: b48100cf07c94f66feef6886d3697eac8635bce4
      
https://github.com/qemu/qemu/commit/b48100cf07c94f66feef6886d3697eac8635bce4
  Author: Changlong Xie <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/backup.c
    M blockjob.c

  Log Message:
  -----------
  blockjob: assert(cb) when create job

Callback for block job should always exist

Suggested-by: Paolo Bonzini <address@hidden>
Suggested-by: Kevin Wolf <address@hidden>
Signed-off-by: Changlong Xie <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: 15d6729850728ee49859711dd40b00d8d85d94ee
      
https://github.com/qemu/qemu/commit/15d6729850728ee49859711dd40b00d8d85d94ee
  Author: Changlong Xie <address@hidden>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M block/mirror.c

  Log Message:
  -----------
  mirror: fix misleading comments

s/target bs/to_replace/, also we check to_replace bs is not
blocked in qmp_drive_mirror() not here

Signed-off-by: Changlong Xie <address@hidden>
Reviewed-by: Fam Zheng <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>


  Commit: ef8757f1fe8095a256ee617e4dbac69d3b33ae94
      
https://github.com/qemu/qemu/commit/ef8757f1fe8095a256ee617e4dbac69d3b33ae94
  Author: Peter Maydell <address@hidden>
  Date:   2016-06-29 (Wed, 29 Jun 2016)

  Changed paths:
    M block/backup.c
    M block/gluster.c
    M block/mirror.c
    M block/nfs.c
    M blockjob.c
    M tests/qemu-iotests/041
    M tests/qemu-iotests/041.out

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

# gpg: Signature made Wed 29 Jun 2016 04:09:26 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:
  mirror: fix misleading comments
  blockjob: assert(cb) when create job
  iotests: add small-granularity mirror test
  mirror: limit niov to IOV_MAX elements, again
  mirror: clarify mirror_do_read return code
  block/gluster: add support for selecting debug logging level
  mirror: fix trace_mirror_yield_in_flight usage in mirror_iteration()
  block/nfs: add support for libnfs pagecache
  block/nfs: refuse readahead if cache.direct is on
  block/gluster: add support for SEEK_DATA/SEEK_HOLE

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


Compare: https://github.com/qemu/qemu/compare/845d1e7e42cf...ef8757f1fe80

reply via email to

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