Re: fix /dev/sg allocation failures register

Martin K. Petersen
2026-04-21T02:17:33Z

Christoph,

> This series has two independent patches to fix this from different
> angles. The first one changes the completely pointless GFP_ATOMIC to
> use GFP_ATOMIC in sg. The other drops the reduction of the gfp mask in
> the bio allocator, so that atomic allocations of bios work as
> expected, even if they are a pretty bad idea as the bio submission
> actually needs a user context anyway. The only other uses of this
> seems to be the ocfs2 cluster managed.

Applied #1 to 7.1/scsi-staging, thanks!

#2 needs to go through block.

--
Martin K. Petersen