Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp249629imj; Fri, 15 Feb 2019 23:01:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IYp6hXPtAxE6k+KmC3wzonEBo6HdOeYs7bY94hZvqNq/qCV7pRr+Lbv0BXGj8sXQx5jH2/T X-Received: by 2002:a63:fb0a:: with SMTP id o10mr9013074pgh.259.1550300505963; Fri, 15 Feb 2019 23:01:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550300505; cv=none; d=google.com; s=arc-20160816; b=rKkLs9dM1YM2aaWavzhkw83WpV8Xy3ez2EPviOwrRPFE+QYz7p0FE+26jHzm+JLfFM 56oyJWA7XGgSYQfLhUkOvQL1etWqL2fqnG20F4zFzVvT2rjlW4JOHJXo5uuot3o/aPk/ 6IxzHD3RX6YtCv8Oq0zR8UKKqDYI0mAMxx4gLLGqCGTnCM3ElbshFX9pEomHEN/r7TAM h5HRVER8sqsiP5GAr/SEKT3kYNQfIU88HRVDZzYd3bXZP2bYiAY9s52ZzPisD5YawLYt 0PBZIdD4Zp0nUjd2V2AgVlesgwbQJGPH2d9RUDPhmhs6cezB4CUSfpHp2O9f0SeKeb57 x/qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date; bh=kZ2rjskx+RaSCYryomHNuULravAR3/MEmWHtSfPIrFA=; b=XllKOn3pXzrgajzwuZis/dTo4FFqKvjz0U+yWCcWZamHxklKKjvovEG3QGOI9rUMqA nxlyNenytp55ClmsJ1cpzm/zT9BQXFYbm6P0J/ryQXiJXisv8gZVbJjN0ZTcQMpIK0Mw KEviZhcPeaWFRPJHLqMQ2ZYGavNvp6zClUTla5GfGUPJy1iyzAmduMuBxqA6+FIufEPI cW6PcRGHM5zbpTg8Vlq4s/lLq4oYWxvGH/9vNONz9BPUHPa09M8v3qsf1nB5x9J+ROJ6 UhdNEcWc2Rsk6V4tzqFxY4wNalqNcYdHfjh4b5X66eyxxAxeEUGrSR+d3BjDoc8lht0g d++A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j22si7345481pgk.114.2019.02.15.23.01.30; Fri, 15 Feb 2019 23:01:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730001AbfBOTT4 (ORCPT + 99 others); Fri, 15 Feb 2019 14:19:56 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:39988 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfBOTT4 (ORCPT ); Fri, 15 Feb 2019 14:19:56 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 215358041E; Fri, 15 Feb 2019 20:19:48 +0100 (CET) Date: Fri, 15 Feb 2019 20:19:54 +0100 From: Pavel Machek To: rjones@redhat.com, kernel list , Andrew Morton Subject: nbd, nbdkit, loopback mounts and memory management Message-ID: <20190215191953.GB17897@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! I watched fosdem talk about nbdkit... https://www.youtube.com/watch?v=3D9E5A608xJG0 . Nice. But word of warning: I'm not sure using it read-write on localhost is safe. In particular, user application could create a lot of dirty data quickly. If there's not enough memory for nbdkit (or nbd-client or nbd-server), you might get a deadlock. Also note that nbd.txt in Documentation/blockdev/ points to sourceforge; it should probably point to https://github.com/NetworkBlockDevice/nbd ? Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlxnENkACgkQMOfwapXb+vL+EQCfZXt/MloA/a8FFjwc20cRijma JTgAoL13Win1MIZDJWucp+Rxsm+EQaon =93hc -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--