Is there any risk to call rbd_aio_write/rbd_aio_read from multiple threads using same rbd_image_t?

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

 



Hi,

 

While calling rbd_aio_write(), different rbd_image_t for same RBD image will be handled as different client.

In this case, RBD exclusive lock will significantly affect write performance.

Therefore, in SPDK, only one thread (i.e, one core) will be used for one rbd image (https://review.spdk.io/gerrit/c/spdk/spdk/+/6812).

This implementation can not utilize all CPU resource, especially for read IO.

 

Could we call rbd_aio_write()/rbd_aio_read() from multiple threads using same rbd_image_t? Is there any risk here? Thanks!

 

Best regards,

Allen

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux