virtiofsd: passthrough_ll: use hashtable
commitbfc50a6e06b10b2f9dbaf6c1a89dd523322e016f
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 15 Nov 2018 14:29:51 +0000 (15 15:29 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:37 +0000 (23 16:41 +0000)
tree1ffdea6ee2403775daf4a047d877c9cbfce67677
parent230e777b5e250759ee0480fcc0e9ccfa2b082fba
virtiofsd: passthrough_ll: use hashtable

Improve performance of inode lookup by using a hash table.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_ll.c