From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796114897; b=PbeIf6pUasCCizmZ97k5/ACo/a/usRePF4Z7TH3ZQvuVgw0xkYtV1mTnDPNmfNeH3tqp rXKwCrf39IYpCvENz+TJ+iRxMdrF7/KD/bTX3FkBXMrVnNN+vSBf1L6cP9wBSbwSsP8OM PFTrwZKdOYY/KV/49p39OnroR3zdWSBiRg5qP3Tb4bG5TDZDc3lzdySCwNYjGifPwnxGZ 9yzzqXWYOzFz20qFVP2+xjZ0yECRfDkH+M9iJ3zaU4SGSOLnIBt9rNmz6oRNpvA1vuvNI Tot19AVUAOmZbdF63EtaUk86e7uCu6nB1eIzcxH1IKayW63Hl5ejaHTV6GjjksoLnmg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796114897; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:X-SRS-Rewrite; bh=eLLLVhUTVereTKitD40mDeA1isjtaJKXkMGJh+Z7Few=; b=2mZ0iTNnsvn+n5UJ46zfycn6HtUzbMuOQidgbOPOU3gN04ObQOy2lDQNSJn/OAFp7/Xh X6cGmrcdnZreSoixSydIJJ5/kSKP4NucCp2/5dJ4e9YUoEEce2gy5fc/o5Sucv/XtJvok YSs/otI+GVRmfXiu5BbPo3HQSniHtgxRg9r0skDlLeE1HRV7kuSB+X4BvvyIWhsIyGNQQ EnwOq1j671HxeOZ7frhGTvi29rUDebO5rG8zaOu3xYQTLdh1B3N4Hf8r0vTjv0m8OlSi5 gr5cCHGK52GuqH8MU8O/ohrrOXuJMZm6hkfoSOabkSMS1Ue59K+pZBH2N1VDCcU0Ncg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=o2WqGruH; arc=none smtp.remote-ip=198.137.202.133 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1729606A320; Tue, 1 Dec 2026 08:48:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D1729606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=o2WqGruH DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=eLLLVhUTVereTKitD40mDeA1isjtaJKXkMGJh+Z7Few=; b=o2WqGruHEa5kuCSU9eySCdkZKQ TJ6DweuTQI1AZBAJLBizbuf2nxM2RYB+omPtGhETNlOBZ0FtCwQW6fyLvXL4b/iYCG1X9KV/8+rW2 SZO0Yg+DbM1stDJfuMQ3C7rOPlQ4jA0SSys4wv8Q0LQa+W55PRXVYJ3CptsA3Bs3M/Sve90BnQOhv +9Sy8NOzVenV1XBjNRNQMr6+enS+m/exGjLXmSYKD8xw7CPjy80sh+kaL4bbjDPWKAzUri78viaeC 0flijlIXwwdLDzAnNu84AXz5xMzRZE7of3XXpeJtBtaSwx2gx9DRaoG1GkfSl5kYLpO52zGntEV3T clYEwqyg==; Received: from hch by bombadil.infradead.org with local (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYJX5-000000074wS-3aA3; Tue, 01 Dec 2026 08:48:15 +0000 Date: Tue, 1 Dec 2026 00:48:15 -0800 From: Christoph Hellwig To: Ville Baillie Cc: Christoph Hellwig , "axboe@kernel.dk" , "linux-block@vger.kernel.org" , "bvanassche@acm.org" , Christian Brauner , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2] loop: retry short writes Message-ID: References: <20261129111351.2240027-1-ville@vmb-tech.com> X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Mon, Nov 30, 2026 at 05:20:38PM +0000, Ville Baillie wrote: > > Christian has an outstanding series to prohibit use of the loop driver > > on pseudo file systems. Adding him so that you can explain this use > > case to him. > > The use case is transparent encryption of non-volatile storage. The > storage driver exposes the device through a sysfs binary attribute, > which is used as the backing file for a loop device with dm-crypt on > top. Applications then access it as an encrypted block device. What kinds of non-volatile storage that doesn't provide a proper block driver? As in drivers/nvmem? Are those really big enough and provide enough write cycles for using them as block storage? If so the nvmem subsystem should just grow a block frontend.