]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix long EEH recover time with NVMe offloads
authorHuy Nguyen <huyn@mellanox.com>
Tue, 18 Dec 2018 12:15:56 +0000 (14:15 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 20 Dec 2018 23:28:47 +0000 (16:28 -0700)
commit4b0b9345cf4d68e0db747b87195497ac0baea927
treee775d66e849531a5823ed64141d4b30a8a6ea3eb
parent0b101b2e42270c45f53d8e8d758f53d3e3b011ef
IB/mlx5: Fix long EEH recover time with NVMe offloads

On NVMe offloads connection with many IO queues, EEH takes long time to
recover. The culprit is the synchronize_srcu in the destroy_mkey. The
solution is to use synchronize_srcu only for ODP mkey.

Fixes: db5f41f2c347 ("IB/mlx5: Implement on demand paging by adding support for MMU notifiers")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mr.c