From: Jens Axboe Date: Tue, 4 Nov 2025 19:43:02 +0000 (-0700) Subject: Merge branch 'autopi-deadlock' into for-6.19/block X-Git-Tag: v6.19-rc1~168^2~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f68ff6bc0d0893d959aac39c662895096d866c84;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'autopi-deadlock' into for-6.19/block 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. Link: https://lore.kernel.org/linux-block/20251103101653.2083310-1-hch@lst.de/ Signed-off-by: Jens Axboe * autopi-deadlock: block: make bio auto-integrity deadlock safe block: blocking mempool_alloc doesn't fail --- f68ff6bc0d0893d959aac39c662895096d866c84