Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib/nfs-workarounds.h @ 6857:41911abe6fa7 HEAD
NFS cache flushing updates.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 25 Nov 2007 15:47:36 +0200 |
parents | dbab5e592577 |
children |
comparison
equal
deleted
inserted
replaced
6856:a249d916f6e6 | 6857:41911abe6fa7 |
---|---|
26 void nfs_flush_attr_cache_maybe_locked(const char *path); | 26 void nfs_flush_attr_cache_maybe_locked(const char *path); |
27 /* Flush attribute cache for a fcntl locked file descriptor. If locking flushes | 27 /* Flush attribute cache for a fcntl locked file descriptor. If locking flushes |
28 the attribute cache with the running OS, this function does nothing. | 28 the attribute cache with the running OS, this function does nothing. |
29 The given path is used only for logging. */ | 29 The given path is used only for logging. */ |
30 bool nfs_flush_attr_cache_fd_locked(const char *path, int fd); | 30 bool nfs_flush_attr_cache_fd_locked(const char *path, int fd); |
31 /* Flush a directory's attribute cache. */ | 31 /* Flush file handle cache for given file. */ |
32 void nfs_flush_attr_cache_dir(const char *path); | 32 void nfs_flush_file_handle_cache(const char *path); |
33 | 33 |
34 /* Flush read cache for fd that was just fcntl locked. If the OS flushes | 34 /* Flush read cache for fd that was just fcntl locked. If the OS flushes |
35 read cache when fcntl locking file, this function does nothing. */ | 35 read cache when fcntl locking file, this function does nothing. */ |
36 void nfs_flush_read_cache_locked(const char *path, int fd); | 36 void nfs_flush_read_cache_locked(const char *path, int fd); |
37 /* Flush read cache for fd that doesn't have fcntl locks. */ | 37 /* Flush read cache for fd that doesn't have fcntl locks. */ |