Patch #1 is a fix. Patch #2 and #3 are trying to improve io timeout handling. Thanks, Hou Hou Pu (3): nbd: return -ETIMEDOUT when NBD_DO_IT ioctl returns nbd: unify behavior in timeout no matter how many sockets is configured nbd: introduce a client flag to do zero timeout handling drivers/block/nbd.c | 36 +++++++++++++++++++++++++++++++----- include/uapi/linux/nbd.h | 4 ++++ 2 files changed, 35 insertions(+), 5 deletions(-) -- 2.11.0