1 |
/* Striped store backend |
/* Striped store backend |
2 |
|
|
3 |
Copyright (C) 1996,97,99,2001 Free Software Foundation, Inc. |
Copyright (C) 1996,97,99,2001, 2002 Free Software Foundation, Inc. |
4 |
Written by Miles Bader <miles@gnu.org> |
Written by Miles Bader <miles@gnu.org> |
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
6 |
|
|
109 |
ileave_allocate_encoding, ileave_encode, ileave_decode, |
ileave_allocate_encoding, ileave_encode, ileave_decode, |
110 |
store_set_child_flags, store_clear_child_flags, 0, 0, stripe_remap |
store_set_child_flags, store_clear_child_flags, 0, 0, stripe_remap |
111 |
}; |
}; |
112 |
|
STORE_STD_CLASS (ileave); |
113 |
|
|
114 |
error_t |
error_t |
115 |
concat_allocate_encoding (const struct store *store, struct store_enc *enc) |
concat_allocate_encoding (const struct store *store, struct store_enc *enc) |
154 |
store_set_child_flags, store_clear_child_flags, 0, 0, stripe_remap, |
store_set_child_flags, store_clear_child_flags, 0, 0, stripe_remap, |
155 |
store_concat_open |
store_concat_open |
156 |
}; |
}; |
157 |
|
STORE_STD_CLASS (concat); |
158 |
|
|
159 |
/* Return a new store in STORE that interleaves all the stores in STRIPES |
/* Return a new store in STORE that interleaves all the stores in STRIPES |
160 |
(NUM_STRIPES of them) every INTERLEAVE bytes; INTERLEAVE must be an |
(NUM_STRIPES of them) every INTERLEAVE bytes; INTERLEAVE must be an |