Re: [PATCH] sd: sd_zbc: don't pass GFP_NOIO to kvcalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Feb 2021 22:52:45 +0900, Johannes Thumshirn wrote:

> Dan reported we're passing in GFP_NOIO to kvmalloc() which will then
> fallback to doing kmalloc() instead of an optional vmalloc() if the size
> exceeds kmalloc()s limits. This will break with drives that have zone
> numbers exceeding PAGE_SIZE/sizeof(u32).
> 
> Instead of passing in GFP_NOIO, enter an implicit GFP_NOIO allocation
> scope.

Applied to 5.12/scsi-queue, thanks!

[1/1] sd: sd_zbc: don't pass GFP_NOIO to kvcalloc
      https://git.kernel.org/mkp/scsi/c/9acced3f58ad

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux