Thu, Mar 30, 2017 at 11:58:46AM CEST, jprochaz(a)redhat.com wrote:
Function dev_db_get_name() is here called twice and can be reduced to
only one call. Because it queries Slave machine n times, where n is
size of device database on Slave, it can take a lot of time when
database is large.
This reduces time it takes to return from this function
to a half.
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
Acked-by: Jan Tluka <jtluka(a)redhat.com>