You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
block: Introduce SectorBuf to reduce hard-coded sector size
The current implementation assumes the block device sector size is
always 512 bytes. This can be a blocking issue when supporting block
devices with other sector sizes. To mitigate this, this commit
introduces `SectorBuf` that represents a single sector buffer instead of
`[u8; 512]`.
Signed-off-by: Akira Moroo <retrage01@gmail.com>
0 commit comments