Skip to content

BlockSizeConstraints are not yet enforced by the server #1

Description

@Merovius

Eventually, the server should enforce block size constraints. We might return errors if the client does not negotiate block sizes, or alternatively do the chunking and aligning ourselves - either way, an nbd.Device should be able to rely on alignment guarantees when it specifies constraints.

Relevant spec values:

  • NBD_INFO_BLOCK_SIZE
  • NBD_REP_ERR_BLOCK_SIZE_REQD

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    betaIssues that should be fixed or closed as wontfix in v0

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions