[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/6] block/gluster: Do not force-cap *pnum
From: |
Eric Blake |
Subject: |
Re: [PATCH 4/6] block/gluster: Do not force-cap *pnum |
Date: |
Fri, 18 Jun 2021 15:17:39 -0500 |
User-agent: |
NeoMutt/20210205 |
On Thu, Jun 17, 2021 at 05:52:45PM +0200, Max Reitz wrote:
> bdrv_co_block_status() does it for us, we do not need to do it here.
>
> The advantage of not capping *pnum is that bdrv_co_block_status() can
> cache larger data regions than requested by its caller.
>
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> ---
> block/gluster.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PATCH 2/6] block: block-status cache for data regions, (continued)