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!