OpenCAS continue to work after one of many cores fails
1. Start cache.
2. Add core1 to previously created cache.
3. Add core2 to previously created cache.
4. Fill cache with pages from core1.
5. Fail core1.
6. Check if core2 is able to use cache.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
OpenCAS continues to operate after one of many cores is released:
1. "Start cache",
2. "Add core1 to previously created cache",
3. "Add core2 to previously created cache",
4. "Fill cache with pages from core1",
5. "Check if core2 is able to use cache"
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
OpenCAS continues to operate after one of many cores is removed:
1. "Start cache",
2. "Add core1 to previously created cache",
3. "Add core2 to previously created cache",
4. "Fill cache with pages from core1",
5. "Remove core1",
6. "Check if core2 is able to use cache"
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
OpenCAS not allow remove the core on 1 level cache when is used by level 2:
/1/ "Create multilevel intelcas device",
/2/ "Try to remove intelcas device on level 1",
/3/ "Remove intelcas device"
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Change `core_number` to more descriptive `cores_amount`.
Parallelization of FIO for many cores.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Check that OpenCAS does not accepts twice the same device as core.
Update code in file.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Test for preserving partitions from core device.
Test for preserving partitions at core device, which were made on exported object,
after stopping cache.
Also added two fields to 'Core' class which allows it to use 'create_partitions' function.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Add IO stress tests for small CAS devices with 1 or 4 cores for every cache mode
and cache line size and with every cleaning policy for WB and WO modes.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Rename set_statistics_deprecated to set_statistics_flat, as flat
statistics are sometimes more useful and actually not deprecated.
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
Fix for creating partition on partition:
now partition would be created on parent device.
Code fixes.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This patch adds two new 5 days long data integirty tests:
- on raw devices with different cache modes
- on different filesystems with loaded io calss config
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>