2026-04-06 15:48:37 +05:30
|
|
|
// Copyright IBM Corp. 2020, 2026
|
2024-01-08 19:21:56 -05:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
|
|
|
|
package storage
|
|
|
|
|
|
|
|
|
|
const KB uint64 = 1024
|
|
|
|
|
|
|
|
|
|
// LogicalBlockSize represents a single logical address, which is equivalent to 4,096 bytes (4 KiB)
|
|
|
|
|
//
|
|
|
|
|
// A logical block is the minimum block that any file can allocate. Large files consist of multiple blocks.
|
|
|
|
|
// More information can be found here: https://en.wikipedia.org/wiki/Logical_block_addressing
|
|
|
|
|
const LogicalBlockSize = 4 * KB
|