Re: [PATCH] blktests: src/miniublk.c: fix unaligned mmap offset for 64K page size

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

 



On Dec 06, 2024 / 19:04, Ming Lei wrote:
> The 'offset' passed to mmap() has to be PAGE_SIZE aligned, which is
> always true for 4K page size, but not true for 64K page size.
> 
> Fix it by adding helper of ublk_queue_max_cmd_buf_sz().

I applied it. Thanks!




[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