You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 fromsyscall.Stat_t.Blksize
. This should either be part of theDevice
interface, an extra parameter, or a separate struct with options passed toLoopback
.The text was updated successfully, but these errors were encountered: