|
nfs-ganesha 1.4
|
Management of the file content cache: release an entry. More...
#include "LRU_List.h"#include "log.h"#include "HashData.h"#include "HashTable.h"#include "fsal.h"#include "cache_inode.h"#include "cache_content.h"#include <unistd.h>#include <sys/types.h>#include <sys/param.h>#include <time.h>#include <pthread.h>#include <errno.h>#include <fcntl.h>#include <string.h>Go to the source code of this file.
Functions | |
| cache_content_status_t | cache_content_release_entry (cache_content_entry_t *pentry, cache_content_client_t *pclient, cache_content_status_t *pstatus) |
Management of the file content cache: release an entry.
cache_content_release_entry.c : Management of the file content cache: release an entry.
Definition in file cache_content_release_entry.c.
| cache_content_status_t cache_content_release_entry | ( | cache_content_entry_t * | pentry, |
| cache_content_client_t * | pclient, | ||
| cache_content_status_t * | pstatus | ||
| ) |
cache_content_release_entry: removes an entry from the cache and free the associated resources.
Removes an entry from the cache and free the associated resources.
No lock management is done in this layer: the related pentry in the cache inode layer is locked and will prevent from concurent accesses.
| pentry | [IN] entry in file content layer for this file. |
| pclient | [IN] ressource allocated by the client for the nfs management. [OUT] returned status. |
Definition at line 78 of file cache_content_release_entry.c.
1.7.3