Re: [PATCH v2 2/2] block: Call attention to truncation of long NBD exports

2020-06-15 Thread Eric Blake
On 6/10/20 11:37 AM, Eric Blake wrote: Commit 93676c88 relaxed our NBD client code to request export names up to the NBD protocol maximum of 4096 bytes without NUL terminator, even though the block layer can't store anything longer than 4096 bytes including NUL terminator for display to the

[PATCH v2 2/2] block: Call attention to truncation of long NBD exports

2020-06-10 Thread Eric Blake
Commit 93676c88 relaxed our NBD client code to request export names up to the NBD protocol maximum of 4096 bytes without NUL terminator, even though the block layer can't store anything longer than 4096 bytes including NUL terminator for display to the user. Since this means there are some export