Patch #1 is a fix. Patch #2 is trying to improve io timeout handling. Thanks, Hou v3 changes: * Add 'Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>' in patch #2. v2 changes: * Add 'Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>' in patch #1. * Original patch #2 is dropped. * Keep the behavior same as before when we don't set a .timeout and num_connections > 1. * Coding style fixes. Hou Pu (2): nbd: return -ETIMEDOUT when NBD_DO_IT ioctl returns nbd: introduce a client flag to do zero timeout handling drivers/block/nbd.c | 33 ++++++++++++++++++++++++++++----- include/uapi/linux/nbd.h | 4 ++++ 2 files changed, 32 insertions(+), 5 deletions(-) -- 2.11.0