Use dedicated 'pgprot_t' type instead of 'struct pgprot'
which is only defined for x86 architecture.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
- do not restrain package build to just one architecture
and allow user to create packages outside of x86_64
- add pckgen option to specify different architecture
to build packages for, instead of the current one
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Added extra argument checks for --failover-standby switch in casadm.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
Open CAS Linux and other projects in the Open CAS repo were always intended
to be released under the OSI-approved BSD 3-Clause License.
Change the license tag to the proper one.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Open CAS Linux and other projects in the Open CAS repo were always intended
to be released under the OSI-approved BSD 3-Clause License.
Change the license tag to the proper one.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Due to linux thread scheduling nature, we prefer to promote streams
as early as we reasonably can. One way to achieve that is to set
promotion count really low, which unfortunately significantly increases
number of accesses to shared structures. The other way is to promote
streams which reach cutoff threshold, as we can reasonably assume that
they are likely be continued after thread is rescheduled to another CPU.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Add helper functions and use them in interruption tests.
Fix tests descriptions and messages.
Update test according to current behaviour of cache mode switching.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Allow providing multiple --dut-config entries for a test
Store configured duts in TestRun.duts
Run setup for all provided duts
Save dut specific data to a dut object
On pytest collect display a list of tests with required no of duts
Create separate folders for logs per dut
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
Don't print statistics for a cache in passive state
Passive cache - casadm set/get cache param disabled in passive state
Obsolete "cache_get_param" function removed
Error in layer_cache_management.c fixed
Flushing cache/core disabled with error for passive mode
Core addition disabled in passive mode
IO class setting disabled for passive mode
Counters reset disabled for passive mode
Ioctl handling changes to reflect OCF API changes
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>