nfs-ganesha 1.4
|
Commits an IO on a REGULAR_FILE. More...
#include "fsal.h"
#include "LRU_List.h"
#include "log.h"
#include "HashData.h"
#include "HashTable.h"
#include "cache_inode.h"
#include "nfs_core.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <time.h>
#include <pthread.h>
#include <assert.h>
Go to the source code of this file.
Functions | |
cache_inode_status_t | cache_inode_commit (cache_entry_t *entry, uint64_t offset, size_t count, cache_inode_stability_t stability, fsal_op_context_t *context, cache_inode_status_t *status) |
Commits a write operation to stable storage. |
Commits an IO on a REGULAR_FILE.
cache_inode_commit.c : Commits an IO on a REGULAR_FILE.
Definition in file cache_inode_commit.c.
cache_inode_status_t cache_inode_commit | ( | cache_entry_t * | entry, |
uint64_t | offset, | ||
size_t | count, | ||
cache_inode_stability_t | stability, | ||
fsal_op_context_t * | context, | ||
cache_inode_status_t * | status | ||
) |
Commits a write operation to stable storage.
This function commits writes from unstable to stable storage.
[in] | entry | File whose data should be committed |
[in] | offset | Start of region to commit |
[in] | count | Number of bytes to commit |
[in] | typeofcommit | What type of commit operation this is |
[in] | context | FSAL credentials |
[out] | status | Operation status |
Definition at line 77 of file cache_inode_commit.c.