Skip to content

Conversation

@baum
Copy link

@baum baum commented Jan 25, 2026

bdev/rbd: integrate SpdkContextWQ for reactor thread execution

Add SpdkContextWQ implementation to schedule RBD I/O operations on
SPDK reactor threads instead of ASIO thread pool. This includes:

  • New SpdkContextWQ class implementing ContextWQ interface
  • Reactor thread selection via bdev_rbd_find_reactor_thread()
  • Integration with rbd_open_with_context_wq() API

@baum baum marked this pull request as ready for review January 25, 2026 14:17
@baum baum changed the base branch from librbd_asio_spdk to ceph-nvmeof-v25.09 January 25, 2026 14:18
@baum baum force-pushed the librbd_asio_spdk branch 2 times, most recently from 08f907b to 8ad5a1a Compare January 25, 2026 14:25
1.implemented tcp nvmef read/write IO statistics  per controller
statistics are stored in each QP and presented in buckets by io size
in each bucket measured total delay , bdev delay, networking delay
and QoS delay. min, max, mean values are dumped for each type.
NVMf tcp io statistics are collected in tcp.c transport.

2.Also implemented new RPC to dump nvmf io stats per controller and to reset io stats.

3. alloc from pool for tcp_req_stats and zmalloc for qp_stats,

4. RPC for enable/disable stats

Change-Id: I069c4d30e72d68a0b11cf598492c6e3c04ceee1b

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
Alexander Indenbaum added 3 commits January 27, 2026 22:38
Add SpdkContextWQ implementation to schedule RBD I/O operations on
SPDK reactor threads instead of ASIO thread pool. This includes:

- New SpdkContextWQ class implementing ContextWQ interface
- Reactor thread selection via bdev_rbd_find_reactor_thread()
- Integration with rbd_open_with_context_wq() API

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
@baum baum force-pushed the librbd_asio_spdk branch from 040222b to b532f5f Compare January 27, 2026 20:39
@gbregman gbregman force-pushed the ceph-nvmeof-v25.09 branch 3 times, most recently from c3ea327 to 912f5f1 Compare January 29, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants