Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Merovius opened this issue Nov 19, 2018 · 0 comments
Open

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

Merovius opened this issue Nov 19, 2018 · 0 comments
Labels
beta Issues that should be fixed or closed as wontfix in v0

Comments

@Merovius
Copy link
Owner

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.

@Merovius Merovius added the beta Issues that should be fixed or closed as wontfix in v0 label Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Issues that should be fixed or closed as wontfix in v0
Projects
None yet
Development

No branches or pull requests

1 participant