diff --git a/src/client/sysint/sys-osd-io.sm b/src/client/sysint/sys-osd-io.sm index 048515a..7e09ced 100644 --- a/src/client/sysint/sys-osd-io.sm +++ b/src/client/sysint/sys-osd-io.sm @@ -266,9 +266,6 @@ static int osd_io_setup_msgpairs(struct PINT_smcb *smcb, job_status_s *js_p) } this_aggregate_size += sresult.bytes; - gossip_debug(GOSSIP_IO_DEBUG, "%s: Current Offset %lld\n", __func__, - lld(target_offset[i])); - #if 0 printf("SERVER INFO [%d]:\n", i); printf("Total size %lld \n", lld(sresult.bytes)); @@ -367,7 +364,8 @@ static int osd_io_setup_msgpairs(struct PINT_smcb *smcb, job_status_s *js_p) /* Build the command for this server, using physical offset. */ if (io->io_type == PVFS_IO_READ) { osd_command_set_read(command, PVFS_OSD_DATA_PID, datafile_handle, - len, target_offset[i]); + len, target_offset[0]); + command->indata = p; command->inlen_alloc = len; command->iov_inlen = csegs_count; @@ -376,11 +374,10 @@ static int osd_io_setup_msgpairs(struct PINT_smcb *smcb, job_status_s *js_p) } else if (io->io_type == PVFS_IO_WRITE) { osd_command_set_write(command, PVFS_OSD_DATA_PID, datafile_handle, - len, target_offset[i]); + len, target_offset[0]); command->outdata = p; command->outlen = len; command->iov_outlen = csegs_count; - //~ printf("Contig WRITE %d\n", len); }