IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29614


Ignore:
Timestamp:
Oct 29, 2010, 2:57:30 PM (16 years ago)
Author:
watersc1
Message:

Nebulous diskbalance code.

Location:
trunk/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/Makefile.am

    r29529 r29614  
    2525        survey.pro \
    2626        replicate.pro \
     27        diskbalance.pro \
    2728        dist.pro \
    2829        dist.cleanup.pro \
  • trunk/ippTasks/diskbalance.pro

    r29426 r29614  
    2424
    2525macro balance.on
    26   task balance.govern
    27     active true
    28   end
    2926  task balance.load
    3027    active true
     
    3633
    3734macro balance.off
    38   task balance.govern
    39     active false
    40   end
    4135  task balance.load
    4236    active false
     
    7670  book setword balanceControl control nSources $1
    7771  book setword balanceControl control mDestinations $2
     72end
     73
     74macro show.balance.numbers
     75  book listpage balanceControl control
     76  echo "balance so_ids: $BALANCE_SO_ID_START $BALANCE_SO_ID_RANGE"
     77end
     78
     79macro show.balancePending
     80  book npages balancePending -var N
     81  echo "$N pages in book"
     82  book listbook balancePending
    7883end
    7984
     
    168173  periods       -poll 0.5
    169174  periods       -exec 5
    170   periods       -timeout 30
     175  periods       -timeout 5
     176  npending      200
    171177
    172178  task.exec
     
    183189    if ("$pageName" == "NULL") break
    184190
    185     book setwork balancePending $pageName pantaskState RUN
     191    book setword balancePending $pageName pantaskState RUN
    186192
    187193    book getword balancePending $pageName key              -var KEY
Note: See TracChangeset for help on using the changeset viewer.