[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v5 00/21] make bdrv_is_allocated[_above] byte-ba
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH v5 00/21] make bdrv_is_allocated[_above] byte-based |
Date: |
Fri, 7 Jul 2017 18:04:51 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 07.07.2017 um 14:44 hat Eric Blake geschrieben:
> There are patches floating around to add NBD_CMD_BLOCK_STATUS,
> but NBD wants to report status on byte granularity (even if the
> reporting will probably be naturally aligned to sectors or even
> much higher levels). I've therefore started the task of
> converting our block status code to report at a byte granularity
> rather than sectors.
>
> The overall conversion currently looks like:
> part 1: bdrv_is_allocated (this series, v4 was at [1])
> part 2: dirty-bitmap (v4 is posted [2]; needs reviews)
> part 3: bdrv_get_block_status (v2 is posted [3] and is mostly reviewed)
> part 4: upcoming series, for .bdrv_co_block_status (second half of v1 [4])
>
> Available as a tag at:
> git fetch git://repo.or.cz/qemu/ericb.git nbd-byte-allocated-v5
>
> Depends on Max's block branch (which in turn includes Kevin's)
>
> [1] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg01151.html
> [2] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg00269.html
> [3] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg00427.html
> [4] https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg02642.html
>
> Changes since v4:
> - patches 8, 11: formatting tweak [Kevin], R-b kept
> - patches 12, 19, 21: fix/add assertions [Kevin], R-b dropped
> - patch 16: tweak parameter naming [Kevin], R-b kept
> - patch 20: kill confusing comment [Kevin], R-b kept
Thanks, applied to the block branch.
Kevin
- [Qemu-block] [PATCH v5 12/21] mirror: Switch mirror_do_read() to byte-based, (continued)
- [Qemu-block] [PATCH v5 12/21] mirror: Switch mirror_do_read() to byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 13/21] mirror: Switch mirror_iteration() to byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 14/21] block: Drop unused bdrv_round_sectors_to_clusters(), Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 15/21] backup: Switch BackupBlockJob to byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 16/21] backup: Switch block_backup.h to byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 17/21] backup: Switch backup_do_cow() to byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 18/21] backup: Switch backup_run() to byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 19/21] block: Make bdrv_is_allocated() byte-based, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 20/21] block: Minimize raw use of bds->total_sectors, Eric Blake, 2017/07/07
- [Qemu-block] [PATCH v5 21/21] block: Make bdrv_is_allocated_above() byte-based, Eric Blake, 2017/07/07
- Re: [Qemu-block] [PATCH v5 00/21] make bdrv_is_allocated[_above] byte-based,
Kevin Wolf <=