![]() When context was allocated on the stack and waiting for completion was interrupted, completion function would attempt to save flush 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 also enables possibility to interrupt regular flush properly, by seding SIGING to casadm. This commit is part of patch that will allow to interrupt waiting for OCF operations. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com> |
||
---|---|---|
.. | ||
cas_cache | ||
cas_disk | ||
include | ||
CAS_VERSION_GEN | ||
config.mk | ||
extra.mk | ||
Makefile |