Whamcloud - gitweb
Branch HEAD
authorscjody <scjody>
Fri, 15 Dec 2006 04:43:00 +0000 (04:43 +0000)
committerscjody <scjody>
Fri, 15 Dec 2006 04:43:00 +0000 (04:43 +0000)
make 'actions', 'rszlo', 'rszhi' into parameters

lustre-iokit/sgpdd-survey/sgpdd-survey

index 2b6c419..7b416d8 100755 (executable)
 rslt=${rslt:-"/tmp/sgpdd_survey_`date +%F@%R`_`uname -n`"}
 
 # what to do (read or write)
-actions="write read"
+actions=${actions:-"write read"}
 
 # total size per device (MBytes)
 # NB bigger than device cache is good
 size=${size:-8192}
 
 # record size (KBytes)
-rszlo=1024
-rszhi=1024
+rszlo=${rszlo:-1024}
+rszhi=${rszhi:-1024}
 
 # Concurrent regions per device
 crglo=${crglo:-1}