X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_mdt.h;h=28d6bebdfed7e0defa3540b8af719ee715cb1f12;hb=22a1b359cb17a8e812bbda8d344f808369740f2e;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..28d6beb 100644 --- a/lustre/include/lustre_mdt.h +++ b/lustre/include/lustre_mdt.h @@ -37,25 +37,7 @@ struct com_thread_info { /* * for req-layout interface. */ - 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]; + struct req_capsule *cti_pill; }; enum {