[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE
From: |
Wouter Verhelst |
Subject: |
Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE |
Date: |
Wed, 12 Feb 2020 09:27:29 +0200 |
Hi,
On Mon, Feb 10, 2020 at 10:52:55PM +0000, Richard W.M. Jones wrote:
> But anyway ... could a flag indicating that the whole image is sparse
> be useful, either as well as NBD_INIT_SPARSE or instead of it? You
> could use it to avoid an initial disk trim, which is something that
> mke2fs does:
Yeah, I think that could definitely be useful. I honestly can't see a
use for NBD_INIT_SPARSE as defined in this proposal; and I don't think
it's generally useful to have a feature if we can't think of a use case
for it (that creates added complexity for no benefit).
If we can find a reasonable use case for NBD_INIT_SPARSE as defined in
this proposal, then just add a third bit (NBD_INIT_ALL_SPARSE or
something) that says "the whole image is sparse". Otherwise, I think we
should redefine NBD_INIT_SPARSE to say that.
--
To the thief who stole my anti-depressants: I hope you're happy
-- seen somewhere on the Internet on a photo of a billboard
- [PATCH 1/3] nbd: Preparation for NBD_INFO_INIT_STATE, (continued)
- [PATCH 1/3] nbd: Preparation for NBD_INFO_INIT_STATE, Eric Blake, 2020/02/10
- [PATCH 2/3] nbd: Add .bdrv_known_zeroes() client support, Eric Blake, 2020/02/10
- [PATCH 3/3] nbd: Add .bdrv_known_zeroes() server support, Eric Blake, 2020/02/10
- Re: [qemu PATCH 0/3] NBD_INFO_INIT_STATE extension, no-reply, 2020/02/10
- Re: [qemu PATCH 0/3] NBD_INFO_INIT_STATE extension, no-reply, 2020/02/10
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Richard W.M. Jones, 2020/02/10
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Eric Blake, 2020/02/10
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Richard W.M. Jones, 2020/02/10
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Eric Blake, 2020/02/11
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE,
Wouter Verhelst <=
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Eric Blake, 2020/02/12
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Richard W.M. Jones, 2020/02/12
- Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Eric Blake, 2020/02/12
Re: Cross-project NBD extension proposal: NBD_INFO_INIT_STATE, Max Reitz, 2020/02/17