2 missed functions added to scst_user interface:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 5 Feb 2009 18:30:50 +0000 (18:30 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 5 Feb 2009 18:30:50 +0000 (18:30 +0000)
commit75231af790299c214379ee5095da3274a4d63abc
tree2943f51426440a3fba55cfbe46d18f5a199193c0
parent1d686ceb891137b8fa4d128b6ae10199af181d87
2 missed functions added to scst_user interface:

 - SCST_USER_UNREGISTER_DEVICE - to unregister device, flush mem reuse (SGV) cache and send UCMD_STATE_ON_CACHE_FREEING notifications for all freed buffers to the user space handler. Simple device close doesn't allow that, so all the cached buffers might look as "leaked" from the user space handler POV.

 - SCST_USER_FLUSH_CACHE - to flush mem reuse (SGV) cache and send UCMD_STATE_ON_CACHE_FREEING notifications for all freed buffers to the user space handler

+ some cosmetics

Docs update is coming

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
scst/include/scst.h
scst/include/scst_sgv.h
scst/include/scst_user.h
scst/src/dev_handlers/scst_user.c
scst/src/scst_mem.c
usr/fileio/common.c
usr/fileio/debug.h
usr/fileio/fileio.c