Linux block layer
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Ville Baillie <ville@vmb-tech.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	"axboe@kernel.dk" <axboe@kernel.dk>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	"bvanassche@acm.org" <bvanassche@acm.org>,
	Christian Brauner <christian@brauner.io>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH v2] loop: retry short writes
Date: Tue, 1 Dec 2026 00:48:15 -0800	[thread overview]
Message-ID: <aw6Jz07_tRFrkHoE@infradead.org> (raw)
In-Reply-To: <icpqxm3hk2jp5n56epejnpzerjmnecaqobkurbfsor54b4r63s@vxpak6td5tnc>

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.


      reply	other threads:[~2026-12-01  8:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 11:14 [PATCH v2] loop: retry short writes Ville Baillie
2026-11-30  8:36 ` Christoph Hellwig
2026-11-30 17:20   ` Ville Baillie
2026-12-01  8:48     ` Christoph Hellwig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw6Jz07_tRFrkHoE@infradead.org \
    --to=hch@infradead.org \
    --cc=axboe@kernel.dk \
    --cc=bvanassche@acm.org \
    --cc=christian@brauner.io \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=ville@vmb-tech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox