nfs-ganesha 1.4
|
#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <time.h>
#include <pthread.h>
#include <string.h>
#include <assert.h>
#include "log.h"
#include "HashData.h"
#include "HashTable.h"
#include "fsal.h"
#include "cache_inode.h"
#include "cache_inode_lru.h"
#include "cache_inode_weakref.h"
#include "nfs4_acls.h"
#include "sal_functions.h"
Go to the source code of this file.
Functions | |
void | cache_inode_kill_entry (cache_entry_t *entry) |
Some routines for management of the cache_inode layer, shared by other calls. |
void cache_inode_kill_entry | ( | cache_entry_t * | entry | ) |
Some routines for management of the cache_inode layer, shared by other calls.
Some routines for management of the cache_inode layer, shared by other calls.
Forcibly remove an entry from the cache
This function removes an entry from the cache immediately when it has become unusable (for example, when the FSAL declares it to be stale.) This function removes only one reference. The caller must also un-reference any reference it holds above the sentinel. This function does not touch locks. Since the entry isn't actually removed until the refcount falls to 0, we just let the caller remove locks as for any error.
[in] | entry | The entry to be killed |
Definition at line 82 of file cache_inode_kill_entry.c.