Re: [PATCH for-next 05/10] RDMA/rtrs: Fix warning when use poll mode

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

 



On Mon, Aug 2, 2021 at 9:07 AM Leon Romanovsky <leon@xxxxxxxxxx> wrote:
>
> On Fri, Jul 30, 2021 at 03:18:27PM +0200, Jack Wang wrote:
> > when test with poll mode, it will fail and lead to warning below:
> > echo "sessname=bla path=gid:fe80::2:c903:4e:d0b3@gid:fe80::2:c903:8:ca17
> > device_path=/dev/nullb2 nr_poll_queues=-1" |
> > sudo tee /sys/devices/virtual/rnbd-client/ctl/map_device
> >
> > rnbd_client L597: Mapping device /dev/nullb2 on session bla,
> > (access_mode: rw, nr_poll_queues: 8)
> > WARNING: CPU: 3 PID: 9886 at drivers/infiniband/core/cq.c:447 ib_cq_pool_get+0x26f/0x2a0 [ib_core]
> >
> > The problem is in case of poll queue, we need to still call
> > ib_alloc_cq/ib_free_cq, we can't use cq_poll api for poll queue.
>
> It will be great to see an explanation here.

Will add and resend. Thanks

>
> Thanks



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux