| DSS_GETCHUNKCACHE_OK | A valid shared memory chunk cache was located.
READ operations on chunks that exist in shared memory may not need to
communicate with the local server. |
| DSS_GETCHUNKCACHE_FAIL | A valid shared memory cache was not located. |
| DSS_CREATE_OK | The space was created. |
| DSS_CREATE_EXISTS | The space was not created because it already exists. |
| DSS_JOINSPACE_OK | The space was joined to. |
| DSS_JOINSPACE_EXISTS | The space was not joined to because it already exists. |
| DSS_JOINSPACE_FAIL | The space was not joined for some other reason,
possibly because there is no space named space on host
or there is no server running on host. |
| DSS_UNJOINSPACE_OK | The space was unjoined. |
| DSS_UNJOINSPACE_NOEXIST | The space was not unjoined because it
does not exist. |
| DSS_SPACEGETHOSTS_OK | The host list was retrieved. |
| DSS_SPACEGETHOSTS_NOEXIST | The host list was not retrieved because
the space does not exist. |
| DSS_CHUNKLIST_ALL | get an entry for every copy of every chunk |
| DSS_CHUNKLIST_ALPHA | get an entry for the alpha copy of every chunk |
| DSS_CHUNKLIST_LOCAL | get an entry for every chunk with a local copy |
| DSS_GETCHUNKLIST_OK | The chunk list was retrieved. |
| DSS_GETCHUNKLIST_FAIL | The chunk list was not retrieved. |
| DSS_SPAWNPROCESS_OK | the process was started. pid is returned. |
| DSS_SPAWNPROCESS_NOSPACE | the specified space could not be found. -1 is returned. |
| DSS_SPAWNPROCESS_NOHOST | the specified host could not be found. -1 is returned. |
| DSS_SPAWNPROCESS_FAIL | the process could not be started. system error code for failed spawn is returned. |
| DSS_TRANSACT_CLIENT_READ_OK | The chunk was read. |
| DSS_TRANSACT_CLIENT_READ_WAITING | The chunk was not read because it did not exist in the specified space. |
| DSS_TRANSACT_CLIENT_READ_FAIL | The chunk was not read possibly for some other reason such as the non-existence of the space. |
| DSS_TRANSACT_CLIENT_WAIT_OK | The chunk was read. |
| DSS_TRANSACT_CLIENT_WAIT_FAIL | The chunk was not read, possibly because the space does not exist. |
| DSS_TRANSACT_CLIENT_WRITE_OK | The chunk was written. |
| DSS_TRANSACT_CLIENT_WRITE_FAIL | The chunk was not written, possibly because the space does not exist. |
| DSS_TRANSACT_CLIENT_STARTWRITE_OK | A valid buffer was returned to read from and write to. |
| DSS_TRANSACT_CLIENT_STARTWRITE_FAIL | A valid buffer was not returned, possibly because the space does not exist. |
| DSS_TRANSACT_CLIENT_WRITE_FAIL | The chunk is now invalid which means
that either this function has succeeded or that the chunk was already invalid. |
| DSS_TRANSACT_CLIENT_WRITE_OK | The chunk is now valid which means
that this function has failed. |
StartWrite and StopWrite
which leaves the chunk invalidated when StopInvalidate is complete.
The return codes for StartInvalidate are the same as for StartWrite.
The return codes for StopInvalidate are the same as for Invalidate.