pkoutoupis / rapiddisk

An Advanced Linux RAM Drive and Caching kernel modules. Dynamically allocate RAM as block devices. Use them as stand alone drives or even map them as caching nodes to slower local disk drives. Access those volumes locally or export them across an NVMe Target network. Manage it all from a web API.
http://www.rapiddisk.org
GNU General Public License v2.0
298 stars 49 forks source link

Optimize search_cache_targets() function - using no goto #175

Closed matteotenca closed 1 year ago

matteotenca commented 1 year ago

The same function as in your PR, without gotos and with an unified error messages style. See PR #172