nfs-ganesha 1.4
Functions

cache_content_release_entry.c File Reference

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)

Detailed Description

Management of the file content cache: release an entry.

Author:
Author:
deniel
Date:
Date:
2005/11/28 17:02:33
Version:
Revision:
1.7

cache_content_release_entry.c : Management of the file content cache: release an entry.

Definition in file cache_content_release_entry.c.


Function Documentation

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.

Parameters:
pentry[IN] entry in file content layer for this file.
pclient[IN] ressource allocated by the client for the nfs management. [OUT] returned status.
Returns:
CACHE_CONTENT_SUCCESS is successful, other values show an error.

Definition at line 78 of file cache_content_release_entry.c.