Changeset 8412

Show
Ignore:
Timestamp:
06/28/10 15:05:47 (3 years ago)
Author:
bligon
Message:

Testing call to getattr_datafile_sizes state machine.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/Orange-Branch/src/client/sysint/sys-io.sm

    r8317 r8412  
    249249        run io_analyze_results; 
    250250        IO_RETRY => init; 
    251         IO_ANALYZE_SIZE_RESULTS => io_analyze_size_results; 
     251        /*IO_ANALYZE_SIZE_RESULTS => io_analyze_size_results;*/ 
    252252        IO_GET_DATAFILE_SIZE => io_datafile_size; 
    253253        default => io_cleanup; 
     
    18061806             * getattr_datafile_sizes states machine we jump to 
    18071807             */ 
    1808             sm_p->getattr.size_array = sm_p->u.io.dfile_size_array; 
     1808            /* getattr_datafile_sizes state machine allocates getattr.size_array */ 
     1809            //sm_p->getattr.size_array = sm_p->u.io.dfile_size_array; 
    18091810 
    18101811            /* setting this state result will cause the state machine to 
     
    18821883        ret = io_zero_fill_holes(sm_p, eor, 
    18831884                                 attr->u.meta.dfile_count, 
    1884                                  sm_p->u.io.dfile_size_array, 
     1885                                 sm_p->getattr.size_array, 
     1886                                 //sm_p->u.io.dfile_size_array, 
    18851887                                 NULL); 
    18861888        if(ret < 0) 
     
    19051907        ret = io_zero_fill_holes(sm_p, eof, 
    19061908                                 attr->u.meta.dfile_count, 
    1907                                  sm_p->u.io.dfile_size_array, 
     1909                                 sm_p->getattr.size_array, 
     1910                                 //sm_p->u.io.dfile_size_array, 
    19081911                                 NULL); 
    19091912        if(ret < 0)