irods / irods_resource_plugin_rados

Cacheless Ceph/rados resource plugin for iRODS
BSD 3-Clause "New" or "Revised" License
7 stars 6 forks source link

Investigate creating a new Rados IO context for every thread #21

Open alanking opened 5 years ago

alanking commented 5 years ago

17 required a lock around librados read/write calls because all threads share the same Rados IO context. Consider creating a new context for each thread in order to reduce the amount of locking.