-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 174359 b: refs/heads/master c: 04dc1e8 h: refs/heads/master i: 174357: 7650bb3 174355: bcd9261 174351: 962fa87 v: v3
- Loading branch information
Boaz Harrosh
committed
Dec 10, 2009
1 parent
04f170b
commit 76bfada
Showing
7 changed files
with
362 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 06886a5a3dc5a5abe0a4d257c26317bde7047be8 | ||
refs/heads/master: 04dc1e88ad9c9f9639019e9646a89ce0ebf706bb |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright (C) 2008, 2009 | ||
* Boaz Harrosh <bharrosh@panasas.com> | ||
* | ||
* This file is part of exofs. | ||
* | ||
* exofs is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU General Public License version 2 as published by the Free | ||
* Software Foundation. | ||
* | ||
*/ | ||
|
||
/* FIXME: Remove this file once pnfs hits mainline */ | ||
|
||
#ifndef __EXOFS_PNFS_H__ | ||
#define __EXOFS_PNFS_H__ | ||
|
||
#if defined(CONFIG_PNFS) | ||
|
||
|
||
/* FIXME: move this file to: linux/exportfs/pnfs_osd_xdr.h */ | ||
#include "../nfs/objlayout/pnfs_osd_xdr.h" | ||
|
||
#else /* defined(CONFIG_PNFS) */ | ||
|
||
enum pnfs_iomode { | ||
IOMODE_READ = 1, | ||
IOMODE_RW = 2, | ||
IOMODE_ANY = 3, | ||
}; | ||
|
||
/* Layout Structure */ | ||
enum pnfs_osd_raid_algorithm4 { | ||
PNFS_OSD_RAID_0 = 1, | ||
PNFS_OSD_RAID_4 = 2, | ||
PNFS_OSD_RAID_5 = 3, | ||
PNFS_OSD_RAID_PQ = 4 /* Reed-Solomon P+Q */ | ||
}; | ||
|
||
struct pnfs_osd_data_map { | ||
u32 odm_num_comps; | ||
u64 odm_stripe_unit; | ||
u32 odm_group_width; | ||
u32 odm_group_depth; | ||
u32 odm_mirror_cnt; | ||
u32 odm_raid_algorithm; | ||
}; | ||
|
||
#endif /* else defined(CONFIG_PNFS) */ | ||
|
||
#endif /* __EXOFS_PNFS_H__ */ |
Oops, something went wrong.