public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	linux-block@vger.kernel.org
Subject: Re: make block layer auto-PI deadlock safe v3
Date: Tue, 4 Nov 2025 12:47:09 -0700	[thread overview]
Message-ID: <afe10b17-245b-4b21-81ee-ff5589a7ca47@kernel.dk> (raw)
In-Reply-To: <20251103101653.2083310-1-hch@lst.de>

On 11/3/25 3:16 AM, Christoph Hellwig wrote:
> Hi all,
> 
> currently the automatic block layer PI generation allocates the integrity
> buffer using kmalloc, and thus could deadlock, or fail I/O request due
> to memory pressure.
> 
> Fix this by adding a mempool, and capping the maximum I/O size on PI
> capable devices to not exceed the allocation size of the mempool.
> 
> This is against the block-6.18 branch as it has a contextual dependency
> on the PI fix merged there yesterday.

Yesterday? Guessing this got copy/pasted from the v1 posting, as it must
be this one:

commit 4c8cf6bd28d6fea23819f082ddc8063fd6fa963a (tag: block-6.18-20251023)
Author: Christoph Hellwig <hch@lst.de>
Date:   Wed Oct 22 10:33:31 2025 +0200

    block: require LBA dma_alignment when using PI

which is a bit longer ago.

But why? Surely this is 6.19 material?

-- 
Jens Axboe


  parent reply	other threads:[~2025-11-04 19:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 10:16 make block layer auto-PI deadlock safe v3 Christoph Hellwig
2025-11-03 10:16 ` [PATCH 1/2] block: blocking mempool_alloc doesn't fail Christoph Hellwig
2025-11-03 11:16   ` Kanchan Joshi
2025-11-03 11:26   ` John Garry
2025-11-03 11:52     ` Christoph Hellwig
2025-11-03 13:20   ` Anuj gupta
2025-11-03 13:28   ` Johannes Thumshirn
2025-11-03 10:16 ` [PATCH 2/2] block: make bio auto-integrity deadlock safe Christoph Hellwig
2025-11-03 11:15   ` Kanchan Joshi
2025-11-03 13:20   ` Anuj gupta
2025-11-03 13:40   ` Johannes Thumshirn
2025-11-03 13:45     ` hch
2025-11-03 13:47       ` Johannes Thumshirn
2025-11-03 13:49         ` hch
2025-11-04 19:47 ` Jens Axboe [this message]
2025-11-05 13:23   ` make block layer auto-PI deadlock safe v3 Christoph Hellwig
2025-11-05 15:03     ` Jens Axboe
2025-11-05 19:46       ` Christoph Hellwig
2025-11-05 19:48         ` Jens Axboe
2025-11-05 15:06 ` Jens Axboe

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=afe10b17-245b-4b21-81ee-ff5589a7ca47@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=martin.petersen@oracle.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