From: Markus Armbruster <armbru@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: "Clément Chigot" <chigot@adacore.com>,
qemu-block@nongnu.org, qemu-devel@nongnu.org, hreitz@redhat.com,
eblake@redhat.com, "Daniel P. Berrangé" <berrange@redhat.com>
Subject: Re: [PATCH v2 2/5] vvfat: move fat_type check prior to size setup
Date: Tue, 11 Nov 2025 09:16:18 +0100 [thread overview]
Message-ID: <87pl9pdlwt.fsf@pond.sub.org> (raw)
In-Reply-To: <aRIE8ACbqWZ2MPdE@redhat.com> (Kevin Wolf's message of "Mon, 10 Nov 2025 16:29:52 +0100")
Kevin Wolf <kwolf@redhat.com> writes:
> Am 10.11.2025 um 14:13 hat Markus Armbruster geschrieben:
>> Clément Chigot <chigot@adacore.com> writes:
>>
>> > On Mon, Nov 10, 2025 at 11:09 AM Markus Armbruster <armbru@redhat.com> wrote:
>> >>
>> >> Clément Chigot <chigot@adacore.com> writes:
>> >>
>> >> > This allows to handle the default FAT size in a single place and make the
>> >> > following part taking care only about size parameters. It will be later
>> >> > moved away in a specific function.
>> >> >
>> >> > The selection of floppy size was a bit unusual:
>> >> > - fat-type undefined: a FAT 12 2880 Kib disk (default)
>> >> > - fat-type=16: a FAT 16 2880 Kib disk
>> >> > - fat-type=12: a FAT 12 1440 Kib disk
>> >> >
>> >> > Now, that fat-type undefined means fat-type=12, it's no longer possible
>> >> > to make that size distinction. Therefore, it's being changed for the
>> >> > following:
>> >> > - fat-type=12: a FAT 12 1440 Kib disk (default)
>> >> > - fat-type=16: a FAT 16 2880 Kib dis
>> >> >
>> >> > This has been choosen for two reasons: keep fat-type=12 the default and
>> >> > creates a more usual size for it: 1440 Kib.
>> >> >
>> >> > The possibility to create a FAT 12 2880 Kib floppy will be added back
>> >> > later, through the fat-size parameter.
>> >> >
>> >> > Side note to mention that s->sectors_per_cluster assignments are
>> >> > removed because they are overidden a few line further.
>> >> >
>> >> > Signed-off-by: Clément Chigot <chigot@adacore.com>
>> >>
>> >> Is this a user-visible change?
>> >
>> > Yes, just "floppy" will now result in a 1440 KiB instead of the
>> > previous 2880 KiB. However, Kevin mentions in V1 that it would make
>> > more sense and vvfat being known to be unstable, this would be fine.
>> > FTR, here is the complete comment:
>> >
>> >> On Wed, Oct 29, 2025 at 5:06 PM Kevin Wolf <kwolf@redhat.com> wrote:
>> >> > In general, our stance is that we can change defaults whenever we want
>> >> > to, and if you don't want to be surprised by changing defaults, you need
>> >> > to specify the option explicitly.
>>
>> Hmm, where is this stance on defaults documented? Question for Kevin,
>> of course.
>
> Probably nowhere. More importantly, I don't think a compatibility
> promise that says otherwise is documented either. And we know that
> defaults have changed before, and that libvirt tries to be as explicit
> as possible to avoid being impacted by changed defaults.
>
> Do you disagree? If so, is there any way to change defaults or do we
> have to stick to the existing defaults forever? To me not specifying an
> option means "just pick anything that makes sense", without any promise
> that this stays the same across versions.
I'd love to be able to change defaults. Defaults can become bad over
time. I remember arguing for changing such defaults unsuccessfully.
Looks like there's differing opinions / uncertainty on whether our
compatibility promise covers defaults. That's bad, we need clarity
there. I'll start a separate thread.
[...]
next prev parent reply other threads:[~2025-11-11 8:17 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 14:53 [PATCH v2 0/5] block/vvfat: introduce "fat-size" option Clément Chigot
2025-11-07 14:53 ` [PATCH v2 1/5] vvfat: introduce partitioned option Clément Chigot
2025-11-10 10:07 ` Markus Armbruster
2025-11-10 11:09 ` Clément Chigot
2025-11-10 12:55 ` BALATON Zoltan
2025-11-10 13:20 ` Markus Armbruster
2025-11-10 15:08 ` Kevin Wolf
2025-11-10 15:25 ` BALATON Zoltan
2025-11-11 7:43 ` Markus Armbruster
2025-11-14 8:20 ` Clément Chigot
2025-11-14 13:25 ` BALATON Zoltan
2025-11-14 13:47 ` Clément Chigot
2025-11-26 9:59 ` Clément Chigot
2025-11-26 19:27 ` Kevin Wolf
2025-11-07 14:53 ` [PATCH v2 2/5] vvfat: move fat_type check prior to size setup Clément Chigot
2025-11-10 10:09 ` Markus Armbruster
2025-11-10 11:15 ` Clément Chigot
2025-11-10 13:13 ` Markus Armbruster
2025-11-10 15:29 ` Kevin Wolf
2025-11-11 8:16 ` Markus Armbruster [this message]
2025-11-11 8:17 ` Markus Armbruster
2025-11-07 14:53 ` [PATCH v2 3/5] vvfat: add a define for VVFAT_SECTOR_BITS and VVFAT_SECTOR_SIZE Clément Chigot
2025-11-07 14:53 ` [PATCH v2 4/5] vvfat: move size parameters within driver structure Clément Chigot
2025-11-07 14:53 ` [PATCH v2 5/5] vvfat: add support for "fat-size" options Clément Chigot
2025-11-10 10:13 ` Markus Armbruster
2025-11-10 12:46 ` Clément Chigot
2025-11-10 13:09 ` Markus Armbruster
2025-11-10 13:26 ` Clément Chigot
2025-11-10 13:42 ` Markus Armbruster
2025-11-10 14:04 ` Clément Chigot
2025-11-10 15:20 ` Kevin Wolf
2025-11-10 15:36 ` BALATON Zoltan
2025-11-10 16:31 ` Kevin Wolf
2025-11-10 21:36 ` BALATON Zoltan
2025-11-12 9:50 ` Clément Chigot
2025-11-12 12:29 ` Kevin Wolf
2025-11-11 7:59 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pl9pdlwt.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=chigot@adacore.com \
--cc=eblake@redhat.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.