Skip to content

Commit 227268d

Browse files
committed
more on where to find specific disk info
1 parent f4425c6 commit 227268d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nexus/db-model/src/disk.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ pub struct Disk {
7171
/// size of blocks (512, 2048, or 4096)
7272
pub block_size: BlockSize,
7373

74+
/// Information unique to each type of disk is stored in a separate table
75+
/// (where rows are matched based on the disk_id field in that table) and
76+
/// combined into a higher level `datastore::Disk` enum.
77+
///
78+
/// For `Crucible` disks, see the `disk_type_crucible` table.
7479
pub disk_type: DiskType,
7580
}
7681

0 commit comments

Comments
 (0)