Re: [PATCH] block: Fix bvec_set_folio() for very large folios

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

 



On Thu, 12 Jun 2025 15:42:53 +0100, Matthew Wilcox (Oracle) wrote:
> Similarly to 26064d3e2b4d ("block: fix adding folio to bio"), if
> we attempt to add a folio that is larger than 4GB, we'll silently
> truncate the offset and len.  Widen the parameters to size_t, assert
> that the length is less than 4GB and set the first page that contains
> the interesting data rather than the first page of the folio.
> 
> 
> [...]

Applied, thanks!

[1/1] block: Fix bvec_set_folio() for very large folios
      (no commit info)

Best regards,
-- 
Jens Axboe







[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux