API Guide
601355 Rev A API Functions 2-23
Functions
236 /* Get # of entries */
237 VS_Table_GetFields(TypeCapacityHa
ndleTable,
238 VSID_NUMBER_ENTRIES, &n,
239 VSID_ENDFIELD);
240 for ( i = 0; i < n; i++)
241 {
242 VS_Table_GetFields(TypeCapacityHa
ndleTable,
243 VSID_TABLE_ENTRY, i,
&typecap_handle,
244 VSID_ENDFIELD);
245 vst_print_typecapacity(typecap_ha
ndle);
246 }
247 }
248}
Notes
VolServ assigns additional bins according to one of two
user-specified algorithms: “wrap” or “first fill.” Using the wrap
algorithm, VolServ assigns additional bins in order until the last
bin in the archive has been assigned. VolServ then wraps to the
first physical bin, goes through the bins in order, and assigns
empty bins as they are encountered. Using the first fill
algorithm, VolServ starts looking for an av ailable bin at the f irst
physical bin location. The first empty, on-line bin encountered
is assigned.
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.