Whamcloud - gitweb
LU-6245 libcfs: move lucache from libcfs to lustre 83/13783/8
authorJames Simmons <uja.ornl@gmail.com>
Mon, 9 Mar 2015 20:06:38 +0000 (16:06 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 25 Mar 2015 14:38:03 +0000 (14:38 +0000)
commite2e7ea06c66d57ba214cd76e3d19420632aba8dd
tree9873c4e429bf3a7029a007fd2e3361c642817fc7
parent0b868add80281c085ce1b297d1cb078deaab802a
LU-6245 libcfs: move lucache from libcfs to lustre

The lucache handling in libcfs is used only for
idmap handling in the obdclass and mdt layers.
Since this is the case we can move the lucache
handling into the lustre stack. As a bonus the
lucache will only be built when we enable server
support instead of the current state of it being
built for clients as well.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I812f2c5952ea79bd023435e5fac1955316c9c59f
Reviewed-on: http://review.whamcloud.com/13783
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
libcfs/include/libcfs/Makefile.am
libcfs/libcfs/Makefile.in
lustre/include/Makefile.am
lustre/include/upcall_cache.h [moved from libcfs/include/libcfs/lucache.h with 55% similarity]
lustre/mdt/autoMakefile.am
lustre/mdt/mdt_identity.c
lustre/mdt/mdt_idmap.c
lustre/mdt/mdt_internal.h
lustre/obdclass/Makefile.in
lustre/obdclass/autoMakefile.am
lustre/obdclass/idmap.c
lustre/obdclass/upcall_cache.c [moved from libcfs/libcfs/upcall_cache.c with 66% similarity]