linux/drivers/nvme/host
Marta Rybczynska d17cc7b7a7 nvme-rdma: remove race conditions from IB signalling
commit 5e599d73c1 upstream.

This patch improves the way the RDMA IB signalling is done by using atomic
operations for the signalling variable. This avoids race conditions on
sig_count.

The signalling interval changes slightly and is now the largest power of
two not larger than queue depth / 2.

ilog() usage idea by Bart Van Assche.

Signed-off-by: Marta Rybczynska <marta.rybczynska@kalray.eu>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-07-27 15:08:03 -07:00
..
core.c nvme: avoid to use blk_mq_abort_requeue_list() 2017-06-07 12:07:48 +02:00
fabrics.c Merge branch 'for-4.9/block' of git://git.kernel.dk/linux-block 2016-10-07 14:42:05 -07:00
fabrics.h Merge branch 'for-4.9/block' of git://git.kernel.dk/linux-block 2016-10-07 14:42:05 -07:00
Kconfig nvme-rdma: add back dependency on CONFIG_BLOCK 2016-09-12 22:29:43 +03:00
lightnvm.c lightnvm: invalid offset calculation for lba_shift 2016-11-11 18:27:32 -07:00
Makefile nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
nvme.h nvme: simplify stripe quirk 2017-04-12 12:41:18 +02:00
pci.c nvme: unmap CMB and remove sysfs file in reset path 2017-05-25 15:44:46 +02:00
rdma.c nvme-rdma: remove race conditions from IB signalling 2017-07-27 15:08:03 -07:00
scsi.c nvme: Add tertiary number to NVME_VS 2016-10-19 11:36:22 -06:00