openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.68k stars 1.76k forks source link

Move "no name changes" from compression to checksum table #16776

Closed robn closed 6 days ago

robn commented 1 week ago

[Sponsors: Klara, Inc., Wasabi Technology, Inc.]

Motivation and Context

A comment that confused me. Compression names actually aren't used in dedup table names, but checksum names are.

Was introduced in review https://github.com/openzfs/zfs/pull/15892#discussion_r1679835046.

Description

Moved the comment (and de-shouted it) to where I think it should have been.

I wonder how necessary this really is. It's not wrong, but I expect there's lots of things that are stored on disk that aren't immediately obvious, so it feels weird to call out just this case. On the other hand, maybe this is just a step towards someday calling them all out, so its no big deal :)

How Has This Been Tested?

Comment change. no testing done.

Types of changes

Checklist: