Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752102AbdGUM2j (ORCPT ); Fri, 21 Jul 2017 08:28:39 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:51762 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbdGUM2h (ORCPT ); Fri, 21 Jul 2017 08:28:37 -0400 Date: Fri, 21 Jul 2017 14:28:28 +0200 From: Adam Borowski To: Josef Bacik Cc: "linux-block@vger.kernel.org" , "nbd-general@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" Subject: Re: nbd drops connection on most writes Message-ID: <20170721122828.hu5ohjr64rcmid75@angband.pl> References: <20170721121439.ofwm3lfuzqjsvjok@angband.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 536 Lines: 13 On Fri, Jul 21, 2017 at 12:22:51PM +0000, Josef Bacik wrote: > Oh shit the default timeout is 0 if you don't set it in the client. Use > the timeout option with nbd client and it should fix it for you. I'll > send something up to make this a sane default. Confirmed, adding a timeout=XXX argument makes it work. Great, thanks! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ A dumb species has no way to open a tuna can. ⢿⡄⠘⠷⠚⠋⠀ A smart species invents a can opener. ⠈⠳⣄⠀⠀⠀⠀ A master species delegates.