Skip to content

There is no way to declare a preferred block size for Loopback #4

@Merovius

Description

@Merovius

The convenience function nbd.Loopback does not yet allow to pass in a preferred block size. It would make sense to allow that - an *os.File backend for example, could derive that from syscall.Stat_t.Blksize. This should either be part of the Device interface, an extra parameter, or a separate struct with options passed to Loopback.

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