- /**
- * Top-level device for this stack.
- */
- struct lu_device *ls_top_dev;
- /*
- * mds number of this site.
- */
- mdsno_t ls_node_id;
- /*
- * Fid location database
- */
- struct lu_server_fld *ls_server_fld;
- struct lu_client_fld *ls_client_fld;
-
- /*
- * Server Seq Manager
- */
- struct lu_server_seq *ls_server_seq;
-
- /*
- * Controller Seq Manager
- */
- struct lu_server_seq *ls_control_seq;
- struct obd_export *ls_control_exp;
-
- /*
- * Client Seq Manager
- */
- struct lu_client_seq *ls_client_seq;
-
- /* statistical counters. Protected by nothing, races are accepted. */
- struct {
- __u32 s_created;
- __u32 s_cache_hit;
- __u32 s_cache_miss;
- /*
- * Number of hash-table entry checks made.
- *
- * ->s_cache_check / (->s_cache_miss + ->s_cache_hit)
- *
- * is an average number of hash slots inspected during single
- * lookup.
- */
- __u32 s_cache_check;
- /** Races with cache insertions. */
- __u32 s_cache_race;
- /**
- * Races with object destruction.
- *
- * \see lu_site::ls_marche_funebre.
- */
- __u32 s_cache_death_race;
- __u32 s_lru_purged;
- } ls_stats;
+static inline struct lu_site_bkt_data *
+lu_site_bkt_from_fid(struct lu_site *site, struct lu_fid *fid)
+{
+ cfs_hash_bd_t bd;