svn commit: r361363 - in head/lib/libprocstat: . zfs
Andriy Gapon
avg at FreeBSD.org
Fri May 22 15:26:28 UTC 2020
On 22/05/2020 18:23, Andriy Gapon wrote:
> On 22/05/2020 18:15, Conrad Meyer wrote:
>> Hi Andriy,
>>
>> Would it make sense to also export sizes of those members? Currently
>> the code assumes the members may be relocated in the struct, but never
>> changed in size. If they can be moved around, maybe they might be
>> enlarged or shrunk at some time too? Maybe not; I am not very
>> familiar with ZFS.
> I think that's less likely to happen. I mean, moving around may be as simple as
> adding a new field in the middle of the struct and people typically don't give
> much thought to such changes. Changing a member's type is more likely to prompt
> a check of possible uses.
> But less likely does not equal will never happen, of course.
> So, I think that this is a good suggestion.
>
OTOH, z_id and z_size probably won't grow larger than 64-bit soon.
Size of mode_t has been pretty stable over the years as well.
So, this is not a priority for now.
--
Andriy Gapon
More information about the svn-src-all
mailing list