FWD: git: 35a301555bff - main - Increase UFS/FFS maximum link count from 32767 to 65530. [actually 65500]

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 04 Dec 2023 08:20:09 UTC
Forwarding for Kirk:

On Dec 3, 2023, at 23:52, Kirk McKusick <mckusick@mckusick.com> wrote:

> From: Mark Millard <marklmi@yahoo.com>
> Subject: RE: git: 35a301555bff - main - Increase UFS/FFS maximum link count
> from 32767 to 65530. [actually 65500]
> Date: Sun, 3 Dec 2023 14:42:47 -0800
> To: Kirk McKusick <mckusick@mckusick.com>, dev-commits-src-main@freebsd.org
> 
> The commit notes reference 65530 twice but the code actually changed
> UFS_LINK_MAX via:
> 
> -#define UFS_LINK_MAX 32767
> +#define UFS_LINK_MAX 65500 /* leave a few spare for special values */
> 
> The 65500 matches the https://reviews.freebsd.org/D42767 patching, which
> is what I tested UFS-based "bulk -a" behavior with.
> 
> ===
> Mark Millard
> marklmi at yahoo.com

The commit message was wrong (or perhaps I should say outdated). I
started with UFS_LINK_MAX 65530 but later changed it to 65500 but
failed to update my commit message. The actual value in my commit
is the one that you and Peter Holm tested, 65500.

Note that I did not cc:dev-commits-src-main@freebsd.org as my mckusick.com
address is not authorized to submit to it. Feel free to forward my reply
to them if you feel it useful.

~Kirk

===
Mark Millard
marklmi at yahoo.com