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

nbd-client timeout ignored #92

Open
albertdb opened this issue Dec 3, 2018 · 1 comment
Open

nbd-client timeout ignored #92

albertdb opened this issue Dec 3, 2018 · 1 comment
Assignees

Comments

@albertdb
Copy link

albertdb commented Dec 3, 2018

OS: Ubuntu Xenial 16.04
Kernel: 4.9.20
nbd-client: 3.13

Hi,

I'm experiencing an issue with nbd-client. Whatever the timeout value I set (and also when unset), about 30 seconds after a network disconnection, socket is shut down, making FS also shutdown. Shorter disconnections are correcly managed (or maybe they are not even treated as a disconnection).

Is there any way of solving/avoiding this issue?

Thanks!

nbd-client X.X.X.X 8992 /dev/nbd1 -timeout 600 -persist -block-size 4096 -name test_timeout
[4567768.848517] XFS (nbd1): Mounting V5 Filesystem
[4567769.975868] XFS (nbd1): Ending clean mount
[4567848.602530] r8169 0000:02:00.0 enp2s0: link down
[4567878.780575] block nbd1: Connection timed out, shutting down connection
[4567878.780576] block nbd1: Receive control failed (result -32)
[4567878.780580] blk_update_request: 144 callbacks suppressed
[4567878.780580] blk_update_request: I/O error, dev nbd1, sector 10485815
[4567878.780587] XFS (nbd1): metadata I/O error: block 0xa00037 ("xlog_iodone") error -1 numblks 64
[4567878.780589] XFS (nbd1): xfs_do_force_shutdown(0x2) called from line 1200 of file fs/xfs/xfs_log.c.  Return address = 0xffffffffa07de73c
[4567878.780613] XFS (nbd1): Log I/O Error Detected.  Shutting down filesystem
[4567878.780614] XFS (nbd1): Please umount the filesystem and rectify the problem(s)
[4567878.780616] block nbd1: shutting down socket
@yoe
Copy link
Member

yoe commented Dec 4, 2018

@josefbacik can you take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants