NBD client: nodelay
This commit is contained in:
parent
d7870fe63b
commit
c244ade2f5
1 changed files with 3 additions and 1 deletions
|
@ -153,8 +153,10 @@ bool disk_backend_nbd::connect(const bool retry)
|
|||
DOLOG(warning, true, "disk_backend_nbd::connect: magic invalid");
|
||||
}
|
||||
|
||||
if (fd != -1)
|
||||
if (fd != -1) {
|
||||
DOLOG(info, false, "NBD size: %u", NTOHLL(nbd_hello.size));
|
||||
set_nodelay(fd);
|
||||
}
|
||||
}
|
||||
while(fd == -1 && retry);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue