diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-27 10:31:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-27 10:31:36 +0000 |
commit | 77461eb0c146e8fcb4281e8370c5b361e8258f72 (patch) | |
tree | 68a0c0c5d683e0ac4d721132ef63604bdb6543c6 /hurd | |
parent | 5fff57ecf7eb845f13a4a087c4da26ecf07a36b2 (diff) |
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd_types.h (enum file_storage_class): New values STORAGE_REMAP,
STORAGE_COPY; moved with their comments from libstore/store.h.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurd_types.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h index b9e51d06..cb64b771 100644 --- a/hurd/hurd_types.h +++ b/hurd/hurd_types.h @@ -163,6 +163,8 @@ enum term_bottom_type STORAGE_LAYER is a set of storage types, representing the same address range; all will be written too, and will be read in turn until one succeeds + STORAGE_REMAP is a layer on top of another store that remaps its blocks + STORAGE_COPY is a memory snapshot of another store STORAGE_NETWORK means that the file is stored elsewhere on the network; all the remaining fields contan type-specific information. STORAGE_OTHER means none of these apply; and should be used when no @@ -187,6 +189,11 @@ enum term_bottom_type (BS is the LCM of its children; SIZE is the sum of theirs) layer - TY, FL, NC - - NC (BS is the LCM of its children; SIZE is the minimum of theirs) + remap - TY, FL, NR NR * (OFFS, LEN) - 1 + (BS and SIZE are that of the child) + copy - TY, FL, SIZE - DATA - + (DATA is preceeded by padding to the next page boundary, and is + SIZE bytes long itself) For ileave, concat, and layer, the children are encoded following the parent. The first int must always be TY. @@ -220,10 +227,12 @@ enum file_storage_class STORAGE_NETWORK, STORAGE_MEMORY, STORAGE_TASK, - STORAGE_NULL, + STORAGE_ZERO, STORAGE_CONCAT, STORAGE_INTERLEAVE, STORAGE_LAYER, + STORAGE_REMAP, + STORAGE_COPY, }; /* Flags for the flags word returned by some types . */ |