[Pvfs2-developers] Must they match with each other --- mem_count
and stream_count?
Rob Ross
rross at mcs.anl.gov
Thu Mar 16 22:29:47 EST 2006
The *total* size of data described by the memory offsets and sizes and
the stream offsets and sizes must match.
Rob
Murali Vilayannur wrote:
> Hi Peng,
>
>> static int dbpf_bstream_read_list(TROVE_coll_id coll_id,
>> TROVE_handle handle,
>> char **mem_offset_array,
>> TROVE_size *mem_size_array,
>> int mem_count,
>> TROVE_offset *stream_offset_array,
>> TROVE_size *stream_size_array,
>> int stream_count,
>> TROVE_size *out_size_p,
>> TROVE_ds_flags flags,
>> TROVE_vtag_s *vtag,
>> void *user_ptr,
>> TROVE_context_id context_id,
>> TROVE_op_id *out_op_id_p)
>>
>> My question is, in its parameter list, does the mem_count and
>> stream_count must match with each other? If yes, why should we keep
>> both of them?
>
> They don't have to match each other and hence we need to keep them
> both! mem_count is the number of elements in memory, while stream_count is
> the number of elements on file/disk.
> Thanks,
> Murali
More information about the Pvfs2-developers
mailing list