X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flov%2Flov_internal.h;h=2307d1019f2bf7f1a5c439f372c24e0ce8641b3e;hp=33aa806850df4e44f381537ac9a8c4e299ce5804;hb=45222b2ef279d62ac3aab0e7babc55d77e3c93a2;hpb=39da3c06275e04e2a6e7f055cb27ee9dff1ea576 diff --git a/lustre/lov/lov_internal.h b/lustre/lov/lov_internal.h index 33aa806..2307d10 100644 --- a/lustre/lov/lov_internal.h +++ b/lustre/lov/lov_internal.h @@ -234,7 +234,7 @@ void lsm_free(struct lov_stripe_md *lsm); struct pool_desc { char pool_name[LOV_MAXPOOLNAME + 1]; - struct ost_pool pool_obds; + struct lu_tgt_pool pool_obds; atomic_t pool_refcount; struct hlist_node pool_hash; /* access by poolname */ struct list_head pool_list; /* serial access */ @@ -333,12 +333,12 @@ extern struct lu_device_type lov_device_type; /* pools */ extern struct cfs_hash_ops pool_hash_operations; -/* ost_pool methods */ -int lov_ost_pool_init(struct ost_pool *op, unsigned int count); -int lov_ost_pool_extend(struct ost_pool *op, unsigned int min_count); -int lov_ost_pool_add(struct ost_pool *op, __u32 idx, unsigned int min_count); -int lov_ost_pool_remove(struct ost_pool *op, __u32 idx); -int lov_ost_pool_free(struct ost_pool *op); +/* lu_tgt_pool methods */ +int lov_ost_pool_init(struct lu_tgt_pool *op, unsigned int count); +int lov_ost_pool_extend(struct lu_tgt_pool *op, unsigned int min_count); +int lov_ost_pool_add(struct lu_tgt_pool *op, __u32 idx, unsigned int min_count); +int lov_ost_pool_remove(struct lu_tgt_pool *op, __u32 idx); +int lov_ost_pool_free(struct lu_tgt_pool *op); /* high level pool methods */ int lov_pool_new(struct obd_device *obd, char *poolname);