Michal Mielewczyk
0f0ef79b89
Disable standby mode
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-06 13:23:07 +02:00
Robert Baldyga
7e6c8b97d7
Fix required memory check in the fallback path
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-06-22 20:41:27 +02:00
Jan Musial
6771f54b69
Use new OCF volume API
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-06-09 12:54:32 +02:00
Robert Baldyga
63bab9584c
Redesign failover standby management
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-05 16:17:52 +01:00
Rafal Stefanowski
acec05060d
Fix license
...
Change license to BSD-3-Clause
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 12:46:42 +02:00
Adam Rutkowski
90d8584bd7
failover detach
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-10-08 15:20:52 +02:00
Michal Mielewczyk
c68de77799
Remove remains of atomic writes support
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-08-16 16:01:21 +02:00
Robert Baldyga
c968285d9f
Remove upgrade-in-flight feature
...
Due to changes in Linux kernel this feature is not working anymore.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-08-11 20:33:16 +02:00
Slawomir Jankowski
696a2e175c
Add KCAS_IOCTL_REMOVE_INACTIVE
request to cas_cache module
...
Add IOCTL code and struct for above request.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2021-03-10 14:39:07 +01:00
Rafal Stefanowski
43f43068ad
Update copyright statements (2021)
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-01-21 13:15:38 +01:00
Michal Rakowski
1cd1db2b45
Fully remove format nvme command
...
Since there is no kernel-kernel api available to communicate
with nvme driver it is more convenient to use some nvme-dedicated
software (e.g. nvme-cli) to manage nvme devices.
It is even not possible to format nvme device with CAS using current
implementation on newest kernels.
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-08-11 06:10:31 -04:00
Robert Baldyga
1e25420f86
Merge pull request #404 from rafalste/copyright_update
...
Update copyright statements
2020-05-19 11:25:11 +02:00
Michal Mielewczyk
3b62e40a2e
Purge core command
...
Purge invalidates all cache lines which belongs to given core. It is very
usefull feature for tests.
Calling purge is possbile with casadm `--script` swtich.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Michal Mielewczyk
d24288a9b1
Purge cache command
...
Purge invalidates all cache lines. It is very usefull feature for tests.
Calling purge is possbile with casadm `--script` swtich.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Rafal Stefanowski
44b4020cc1
Update copyright statements
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-04 16:47:38 +02:00
Michal Rakowski
4cbf555793
OCF update
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-10-01 10:32:03 +02:00
Michal Mielewczyk
4726bedb50
New ioctl for retriveing ocf stats.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-09-16 06:30:13 -04:00
Michal Mielewczyk
bda0eb41a9
Rename KCAS_IOCTL_PARTITION_STATS with KCAS_IOCTL_PARTITION_INFO.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-09-11 07:10:13 -04:00
Robert Baldyga
f038223979
Use name based OCF management API
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-08-16 14:08:34 +02:00
Michal Mielewczyk
c1b5ccbc75
Initialize structures with 0.
...
If 'open_cores' flag is not explicite set, cores migth not be added on cache
load.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-07-04 03:06:24 -04:00
Michal Mielewczyk
0208375202
Unified management functions prefix
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-06-06 09:46:40 -04:00
Michal Rakowski
f9c0c929c1
Translate OCF-error-codes in IO path
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-06-05 15:34:04 +02:00
Robert Baldyga
23e330a21f
Adapt to new cache lock API
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-06-04 15:24:55 +02:00
Robert Baldyga
077956f9a9
Pass cache_id to cache_mng_add_core_to_cache()
...
struct ocf_mngt_core_config no longer contains this information,
so we need to pass it as separate argument.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-05-24 18:14:17 +02:00
Michal Mielewczyk
54027e92ae
Allow reset stats for all cores within cache instance at once.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-04-09 07:07:37 -04:00
Adam Rutkowski
9670adf751
Move querying for atomic device params before cache start
...
This needs to be done in caller application context. As part of asynchronous
management API rework, volume_open callback was moved to kernel worker thread
context. To work around this, atomic parameters are now read before cache
attach/load/probe and provided to bottom volume via volume params.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2019-04-02 14:47:39 -04:00
Robert Baldyga
94e8ca09e0
Initial commit
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-03-29 08:45:50 +01:00