Various lustre_nrs_*.h header are only needed on the server. Make
this explicit, so it is easier to see which files are needed on the
client.
Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I9bc30acc4f62ea9af516055edbb7833919811089
Reviewed-on: https://review.whamcloud.com/41128
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
};
#include <lustre_nrs_fifo.h>
};
#include <lustre_nrs_fifo.h>
+#ifdef HAVE_SERVER_SUPPORT
#include <lustre_nrs_tbf.h>
#include <lustre_nrs_crr.h>
#include <lustre_nrs_orr.h>
#include <lustre_nrs_tbf.h>
#include <lustre_nrs_crr.h>
#include <lustre_nrs_orr.h>
+#endif /* HAVE_SERVER_SUPPORT */
#include <lustre_nrs_delay.h>
/**
#include <lustre_nrs_delay.h>
/**
* Fields for the FIFO policy
*/
struct nrs_fifo_req fifo;
* Fields for the FIFO policy
*/
struct nrs_fifo_req fifo;
+#ifdef HAVE_SERVER_SUPPORT
/**
* CRR-N request defintion
*/
/**
* CRR-N request defintion
*/
* TBF request definition
*/
struct nrs_tbf_req tbf;
* TBF request definition
*/
struct nrs_tbf_req tbf;
+#endif /* HAVE_SERVER_SUPPORT */
/**
* Fields for the delay policy
*/
/**
* Fields for the delay policy
*/
#include <lustre_dlm.h>
#include <lustre_fid.h>
#include <obd_class.h>
#include <lustre_dlm.h>
#include <lustre_fid.h>
#include <obd_class.h>
+#include <libcfs/linux/linux-hash.h>
#include "ldlm_internal.h"
struct kmem_cache *ldlm_resource_slab, *ldlm_lock_slab;
#include "ldlm_internal.h"
struct kmem_cache *ldlm_resource_slab, *ldlm_lock_slab;
#include <libcfs/libcfs.h>
#include <libcfs/linux/linux-mem.h>
#include <libcfs/libcfs.h>
#include <libcfs/linux/linux-mem.h>
+#include <libcfs/linux/linux-hash.h>
#include <obd_class.h>
#include <obd_support.h>
#include <lustre_disk.h>
#include <obd_class.h>
#include <obd_support.h>
#include <lustre_disk.h>