Page 1 of 1
Cache Task Number PC 0.9.8
Posted: Tue Jan 21, 2014 4:59 am
by Stubi
Is there any way to reset the cache task number? It just seems to count up.
On this occasion - is there any way to use the command line so that all cache tasks get flushed, stopped or whatever (without specifying a cache task number)?
Re: Cache Task Number PC 0.9.8
Posted: Tue Jan 21, 2014 7:45 am
by Support
cache task number (index) is automatically created at each time computer boots up. Its value is not persistent across computer restarts.
Each cache task is also assigned an identifier which takes the following format, where each "x" represents a hexadecimal digit.
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Identifiers are persistent across computer restarts.
Stubi wrote:On this occasion - is there any way to use the command line so that all cache tasks get flushed, stopped or whatever (without specifying a cache task number)?
Currently no.
Re: Cache Task Number PC 0.9.8
Posted: Tue Jan 21, 2014 12:48 pm
by Stubi
For my problem I use now for instance to flush all cache rxpcc dwflush -v 1,2,3,4,5,6,7,8,9 -s as workaround - will never have more than 9 tasks I guess. Since it does not complain about not existing task numbers this seems to work. But rxpcc dwflush -v -s could do the same.
I have to correct myself. This with 1,2,3,4... does not work for everything. For instance with dwpause you get an error for not existing task numbers. But it works with pause !
Re: Cache Task Number PC 0.9.8
Posted: Tue Jan 28, 2014 11:38 am
by Support
Stubi wrote:This with 1,2,3,4... does not work for everything. For instance with dwpause you get an error for not existing task numbers. But it works with pause !
Commands "pause, resume, dwpause, dwresume, dwflush" accept and process same options. If -v is not speicified, you must specify -c option. With -v option, commands execute on each volumes specified. With -c option, commands execute on specified cache task and all volumes in this cache task.