open-cas-linux/modules
Michal Mielewczyk de823b15fc Allow cache r&w locks to be interrupted.
When context was allocated on the stack and waiting for completion was
interrupted, completion function would attempt to save lock/unlock result in
memory which might in use by other process. This would cause a system crash.

To prevent such scenario, context is allocated dynamiclly and extended with
reference counter. In case of interrupt, completion function doesn't have to
save result in context, it can simply free it's memory.

This commit is part of patch that will allow to interrupt waiting for OCF
operations.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-01-02 18:34:30 -05:00
..
cas_cache Allow cache r&w locks to be interrupted. 2020-01-02 18:34:30 -05:00
cas_disk Relax allocations requirements 2019-10-23 16:04:27 -04:00
include New error code for interrupted waiting. 2020-01-02 18:34:30 -05:00
CAS_VERSION_GEN Update Open CAS version to 19.09 2019-09-19 12:44:42 +02:00
config.mk Cleanup CAS_VERSION 2019-09-19 12:43:34 +02:00
extra.mk Initial commit 2019-03-29 08:45:50 +01:00
Makefile modules: Fixed getting running kernel ver 2019-08-26 15:52:32 +02:00