BlockDev.CryptoIntegrityExtra¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
buffer_sectors |
r/w |
number of sectors in one buffer |
|
interleave_sectors |
r/w |
number of interleave sectors (power of two) |
|
journal_commit_time |
r/w |
journal commit time (or bitmap flush time) in ms |
|
journal_size |
r/w |
size of journal in bytes |
|
journal_watermark |
r/w |
journal flush watermark in percents; in bitmap mode sectors-per-bit |
|
sector_size |
r/w |
integrity sector size |
|
tag_size |
r/w |
tag size per-sector in bytes |
Methods¶
class |
|
Details¶
- class BlockDev.CryptoIntegrityExtra¶
- classmethod new(sector_size, journal_size, journal_watermark, journal_commit_time, interleave_sectors, tag_size, buffer_sectors)¶
- Parameters:
sector_size (
int
) – integrity sector size, 0 for default (512)journal_size (
int
) – size of journal in bytesjournal_watermark (
int
) – journal flush watermark in percents; in bitmap mode sectors-per-bitjournal_commit_time (
int
) – journal commit time (or bitmap flush time) in msinterleave_sectors (
int
) – number of interleave sectors (power of two)tag_size (
int
) – tag size per-sector in bytesbuffer_sectors (
int
) – number of sectors in one buffer
- Returns:
a new Integrity extra argument
- Return type: