Module block

Source
Expand description

Types for working with the block layer.

Modules§

mq
This module provides types for implementing block drivers that interface the blk-mq subsystem.

Constants§

PAGE_SECTORS_SHIFT
The difference between the size of a page and the size of a sector, expressed as a power of two.
SECTOR_MASK
Bit mask for masking out SECTOR_SIZE.
SECTOR_SHIFT
Sectors are size 1 << SECTOR_SHIFT.
SECTOR_SIZE
Size of a sector.