crash.subsystem.filesystem.decoders module¶
-
class
crash.subsystem.filesystem.decoders.DIOBioDecoder(bio: gdb.Value)[source]¶ Bases:
crash.subsystem.storage.decoders.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: gdb.Value)[source]¶ Bases:
crash.subsystem.storage.decoders.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.
-
class
crash.subsystem.filesystem.decoders.DecodeMPage(bio: gdb.Value)[source]¶ Bases:
crash.subsystem.storage.decoders.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 {}'¶
-
-
class
crash.subsystem.filesystem.decoders.DecodeSyncWBBH(bh: gdb.Value)[source]¶ Bases:
crash.subsystem.storage.decoders.DecoderDecodes a struct buffer_head submitted by file systems for routine synchronous writeback.
Parameters: bio – The struct buffer_headto be decoded. The value must be ofstruct buffer_head.