aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/inomap/inomap.go6
-rw-r--r--internal/inomap/qino.go4
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