diff options
| author | Jakob Unterwurzacher | 2021-08-16 17:14:14 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2021-08-16 17:14:14 +0200 | 
| commit | 763499ee80f5acb7ab1db70d86c65485bebb115e (patch) | |
| tree | 08d7596c670acc31ec2c49e32b44ceaee03bee27 | |
| parent | b8d78d6a3153f0ebf01e11426bd28453c7b8b522 (diff) | |
inomap: update outdated wording in comments
| -rw-r--r-- | internal/inomap/inomap.go | 6 | ||||
| -rw-r--r-- | internal/inomap/qino.go | 4 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/internal/inomap/inomap.go b/internal/inomap/inomap.go index bd20e0d..630ba18 100644 --- a/internal/inomap/inomap.go +++ b/internal/inomap/inomap.go @@ -1,4 +1,4 @@ -// inomap translates (Dev, Flags, Ino) tuples to unique uint64 +// inomap translates (Dev, Tag, Ino) tuples to unique uint64  // inode numbers.  //  // Format of the returned inode numbers: @@ -6,11 +6,11 @@  //   [spill bit = 0][15 bit namespace id][48 bit passthru inode number]  //   [spill bit = 1][63 bit spill inode number                        ]  // -// Each (Dev, Flags) tuple gets a namespace id assigned. The original inode +// Each (Dev, Tag) tuple gets a namespace id assigned. The original inode  // number is then passed through in the lower 48 bits.  //  // If namespace ids are exhaused, or the original id is larger than 48 bits, -// the whole (Dev, Flags, Ino) tuple gets mapped in the spill map, and the +// the whole (Dev, Tag, Ino) tuple gets mapped in the spill map, and the  // spill bit is set to 1.  package inomap diff --git a/internal/inomap/qino.go b/internal/inomap/qino.go index ed514e8..c2951d0 100644 --- a/internal/inomap/qino.go +++ b/internal/inomap/qino.go @@ -15,8 +15,8 @@ type namespaceData struct {  }  // QIno = Qualified Inode number. -// Uniquely identifies a backing file through the device number, -// inode number pair. +// Uniquely identifies a backing file through the +// (device number, tag, inode number) tuple.  type QIno struct {  	namespaceData  	// Stat_t.Ino is uint64 on 32- and 64-bit Linu | 
