diff --git a/src/bin/nydus-image/core/node.rs b/src/bin/nydus-image/core/node.rs index b5c74cdf5f4..979b8783dce 100644 --- a/src/bin/nydus-image/core/node.rs +++ b/src/bin/nydus-image/core/node.rs @@ -193,7 +193,7 @@ pub struct Node { /// Device id associated with the source inode. /// /// A source directory may contain multiple partitions from different hard disk, so - /// a pair of (dev, read_ino) is needed to uniquely identify an inode from source directory. + /// a pair of (real_ino, dev) is needed to uniquely identify an inode from source directory. pub src_dev: u64, /// Inode number of the source inode. pub src_ino: Inode, diff --git a/src/bin/nydus-image/core/prefetch.rs b/src/bin/nydus-image/core/prefetch.rs index f5e9bbdf374..53e1d96484d 100644 --- a/src/bin/nydus-image/core/prefetch.rs +++ b/src/bin/nydus-image/core/prefetch.rs @@ -16,7 +16,7 @@ use crate::node::Node; pub enum PrefetchPolicy { None, /// Readahead will be issued from Fs layer, which leverages inode/chunkinfo to prefetch data - /// from blob no mather where it resides(OSS/Localfs). Basically, it is willing to cache the + /// from blob no matter where it resides(OSS/Localfs). Basically, it is willing to cache the /// data into blobcache(if exists). It's more nimble. With this policy applied, image builder /// currently puts readahead files' data into a continuous region within blob which behaves very /// similar to `Blob` policy.