Permalink
Cannot retrieve contributors at this time
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?
pvfs2-osd/include/pvfs2-dist-twod-stripe.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (33 sloc)
898 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* (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 | |
*/ |