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