| a7cfb63a | 26-Sep-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
bdev/rbd: use spdk_bdev to get a handle to bdev_rbd
Previously, the code used to get an IO channel to get a handle to bdev_rbd, but that's not necessary (and can potentially fail), as we can get the
bdev/rbd: use spdk_bdev to get a handle to bdev_rbd
Previously, the code used to get an IO channel to get a handle to bdev_rbd, but that's not necessary (and can potentially fail), as we can get the bdev_rbd pointer from spdk_bdev (it's safe to do because we already check that bdev->module points at rbd_if).
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I4bedf187b3ee328d4238030e9057ffa39a05f7a5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20078 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 1738550b | 12-May-2023 |
Ziye Yang <ziye.yang@intel.com> |
bdev/rbd: Share the rados_ioctx_t if images are from same pool
For rbd images belonging to the same rados pool, we can share the rados_ioctx_t structure, then it can save the librados related resour
bdev/rbd: Share the rados_ioctx_t if images are from same pool
For rbd images belonging to the same rados pool, we can share the rados_ioctx_t structure, then it can save the librados related resource in client side.
Because there is a configuration parameter `librados_thread_count` which is reponsible for io_context_pool. Then if we can share the same rados_ioctx_t if we have the same rados pool under shared rados_t. It can save the client resources when there are multiple images in the same pool.
Change-Id: I7f71191d7dd72eec359840a5767da74ff6e4ec92 Signed-off-by: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18107 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
| b618f056 | 24-Jan-2023 |
Yue-Zhu <yue.zhu@ibm.com> |
rbd_bdev: add core mask for librbd/librados threads
Add core_mask option to allow specify core mask for librbd/librados threads (non-spdk threads), when registering rbd cluster via bdev_rbd_register
rbd_bdev: add core mask for librbd/librados threads
Add core_mask option to allow specify core mask for librbd/librados threads (non-spdk threads), when registering rbd cluster via bdev_rbd_register_cluster. Also, update bdev_rbd_get_clusters_info to get librbd/librados core mask.
Signed-off-by: Yue-Zhu <yue.zhu@ibm.com> Change-Id: Iedeb508bbcf2ec97c3fdd81a6564bbddb4fc660a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16451 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
| 9fe36c0d | 10-May-2023 |
Jonas Pfefferle <pepperjo@japf.ch> |
bdev/rbd: add compare and write support
This patch adds native support for compare and write through librbd (>=17.2.6).
Change-Id: Iac83d0b9cefddaed5df8b1985d07d72bf2217bf5 Signed-off-by: Jonas Pfe
bdev/rbd: add compare and write support
This patch adds native support for compare and write through librbd (>=17.2.6).
Change-Id: Iac83d0b9cefddaed5df8b1985d07d72bf2217bf5 Signed-off-by: Jonas Pfefferle <pepperjo@japf.ch> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17981 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|