Re: [PATCH] block: limit disk max sectors to (LLONG_MAX >> 9)

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

 



On Wed, 15 Jan 2025 17:26:48 +0800, Ming Lei wrote:
> Kernel `loff_t` is defined as `long long int`, so we can't support disk
> which size is > LLONG_MAX.
> 
> There are many virtual block drivers, and hardware may report bad capacity
> too, so limit max sectors to (LLONG_MAX >> 9) for avoiding potential
> trouble.
> 
> [...]

Applied, thanks!

[1/1] block: limit disk max sectors to (LLONG_MAX >> 9)
      commit: 3d9a9e9a77c5ebecda43b514f2b9659644b904d0

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