summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-11-04 12:43:02 -0700
committerJens Axboe <axboe@kernel.dk>2025-11-04 12:43:02 -0700
commitf68ff6bc0d0893d959aac39c662895096d866c84 (patch)
tree21994cdf1650c7122359446262910261d164a48c /rust/kernel
parent3f5b1169d2ab20ed14271654799121232b9eb9d7 (diff)
parentec7f31b2a2d3bf6b9e4d4b8cd156587f1d0607d5 (diff)
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 <axboe@kernel.dk> * autopi-deadlock: block: make bio auto-integrity deadlock safe block: blocking mempool_alloc doesn't fail
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions