Skip to content

Check DIRECTIO flag when reading data #10

Description

@wfarah

An assumption (which might be true for most of the cases) is that BLOCSIZE is always a multiple of 512, and so the rawspec reader does not check for the DIRECTIO flag when reading data payload. With ATA data, the packet format is flexible and dynamic enough such that this alignment might not always be true.

TODO: add logic to seek to the next multiple of 512 when reading data in if DIRECTIO header flag exists and is enabled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions