X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_mdt.h;h=06ed6b18412fd197a95ee714d7164b3609757042;hb=3192e52a89946f12fd36d28a686c169d01d36e64;hp=861a0778a6d3dd3de76f9d78db20a7cc32a81015;hpb=d2d56f38da01001c92a09afc6b52b5acbd9bc13c;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_mdt.h b/lustre/include/lustre_mdt.h index 861a077..06ed6b18 100644 --- a/lustre/include/lustre_mdt.h +++ b/lustre/include/lustre_mdt.h @@ -40,24 +40,6 @@ struct com_thread_info { struct req_capsule cti_pill; }; -/* id map */ -#define MDT_IDMAP_HASHSIZE (32) -#define MDT_IDMAP_HASHFUNC(id) ((id) & (MDT_IDMAP_HASHSIZE - 1)) - -enum mdt_idmap_idx { - RMT_UIDMAP_IDX, - LCL_UIDMAP_IDX, - RMT_GIDMAP_IDX, - LCL_GIDMAP_IDX, - MDT_IDMAP_N_HASHES -}; - -struct mdt_idmap_table { - spinlock_t mit_lock; - struct list_head mit_idmaps[MDT_IDMAP_N_HASHES] - [MDT_IDMAP_HASHSIZE]; -}; - enum { ESERIOUS = 0x0001000 };