On Mon, 11 Nov 2024 19:07:18 +0800, Ming Lei wrote: > In ublk_ch_mmap(), queue id is calculated in the following way: > > (vma->vm_pgoff << PAGE_SHIFT) / `max_cmd_buf_size` > > 'max_cmd_buf_size' is equal to > > `UBLK_MAX_QUEUE_DEPTH * sizeof(struct ublksrv_io_desc)` > > [...] Applied, thanks! [1/1] ublk: fix ublk_ch_mmap() for 64K page size commit: d369735e02ef122d19d4c3d093028da0eb400636 Best regards, -- Jens Axboe