crash.subsystem.storage.device_mapper module

class crash.subsystem.storage.device_mapper.ClonedBioDecoder(bio: gdb.Value)[source]

Bases: crash.subsystem.storage.decoders.Decoder

Decodes a bio-based device mapper cloned bio

This method decodes cloned bio generated by request-based device mapper targets.

Parameters:bio – A struct bio generated by a bio-based device mapper target. The value must be of type struct bio.
bio

A struct bio generated by a bio-based device mapper target. The value is of type struct bio.

Type:gdb.Value
next_bio

The struct bio that generated this one. The value is of type struct bio.

Type:gdb.Value
tio

The dm target i/o operation for this bio. The value is of type struct dm_target_io.

Type:gdb.Value
interpret() → None[source]

Interprets the cloned device mapper bio to populate its attributes

class crash.subsystem.storage.device_mapper.ClonedBioReqDecoder(bio: gdb.Value)[source]

Bases: crash.subsystem.storage.decoders.Decoder

Decodes a request-based device mapper cloned bio

This decodes a cloned bio generated by request-based device mapper targets.

Parameters:bio – A struct bio generated by a request-based device mapper target. The value must be of type struct bio.
interpret() → None[source]

Interprets the request-based device mapper bio to populate its attributes