Was the original version of this function overly expensive, or just with the wrong interfaces? The commit said
> lfn_get_name() was very generic,so, overloaded it to work optimally with IO path.

But if it wasn't a performance bottleneck, the fact that it was generic is *good*.