Skip to content
Permalink
1139b72d5e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
40 lines (33 sloc) 898 Bytes
/*
* (C) 2007 University of Chicago.
*
* See COPYING in top-level directory.
*/
#ifndef __PVFS_DIST_TWOD_STRIPE_H
#define __PVFS_DIST_TWOD_STRIPE_H
#include "pvfs2-request.h"
#include "pint-distribution.h"
#include "pint-request.h"
#include "pvfs2-types.h"
#define PVFS_DIST_TWOD_STRIPE_NAME "twod_stripe"
#define PVFS_DIST_TWOD_STRIPE_NAME_SIZE 14
#define PVFS_DIST_TWOD_STRIPE_DEFAULT_GROUPS 2
#define PVFS_DIST_TWOD_STRIPE_DEFAULT_STRIP_SIZE 65536
#define PVFS_DIST_TWOD_STRIPE_DEFAULT_FACTOR 256
/* 2d stripe distribution parameters */
struct PVFS_twod_stripe_params_s
{
uint32_t num_groups;
PVFS_size strip_size;
uint32_t group_strip_factor; /* Number of strips/server/group */
};
typedef struct PVFS_twod_stripe_params_s PVFS_twod_stripe_params;
#endif
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/