crash.subsystem.filesystem.decoders module¶
- class crash.subsystem.filesystem.decoders.DIOBioDecoder(bio: Value)[source]¶
Bases:
DecoderDecodes a bio used for direct i/o.
This method decodes a bio generated by the direct-io component of the file system subsystem. The bio can either have been submitted directly or asynchronously.
- Parameters:
bio – The struct bio to be decoded, generated by the direct i/o component. The value must be of type
struct bio.
- fstype¶
the name of the file system type
- Type:
str
- dev¶
the name of the underlying device
- Type:
str
- offset¶
the starting offset on disk
- Type:
str
- class crash.subsystem.filesystem.decoders.DecodeBioBH(bio: Value)[source]¶
Bases:
DecoderDecodes a bio used to perform i/o for buffer_heads
This method decodes a bio generated by buffer head submission.
- Parameters:
bio – The struct bio to be decoded, generated by buffer head submission. The value must be of type
struct bio.
- bh¶
The struct buffer_head associated with this bio. The value is of type
struct buffer_head.- Type:
- class crash.subsystem.filesystem.decoders.DecodeMPage(bio: Value)[source]¶
Bases:
DecoderDecodes a bio used for multipage i/o.
This method decodes a bio generated by the mpage component of the file system subsystem.
- Parameters:
bio – The struct bio to be decoded, generated by the mpage component. The value must be of type
struct bio.
- fstype¶
the name of the file system type
- Type:
str
- description = '{:x} bio: Multipage I/O: inode {}, type {}, dev {}'¶