search for: have_falloc

Displaying 7 results from an estimated 7 matches for "have_falloc".

Did you mean: have_alloca
2011 May 15
2
Compilation problem with linux/falloc.h include in rsync.h
...any reported problems so I ran the make utility to compile the code base. The following error was almost immediately returned after running make: ./rsync.h:669:26: fatal error: linux/falloc.h: No such file or directory The reported line resides in rsync.h and includes the falloc.h header file if HAVE_FALLOCATE or HAVE_SYS_FALLOCATE is defined by the configuration step. #if defined HAVE_FALLOCATE || HAVE_SYS_FALLOCATE #include <linux/falloc.h> The generated config.h file (created by ./configure) contains a definition of HAVE_FALLOCATE (initialized to 1) and HAVE_POSIX_FALLOCATE. HAVE_SYS_FALLOC...
2010 Feb 12
1
[RFC] add support for fallocate()
...++ b/configure.in @@ -761,6 +761,15 @@ if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [Define to 1 if gettimeofday() takes a time-zone arg]) fi +AC_CACHE_CHECK([if fallocate with mode FALLOC_FL_KEEP_SIZE is available],rsync_cv_HAVE_FALLOCATE,[ +AC_TRY_LINK([#include <fcntl.h> +#include <linux/falloc.h>], +[exit(fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 10));], +rsync_cv_HAVE_FALLOCATE=yes,rsync_cv_HAVE_FALLOCATE=no)]) +if test x"$rsync_cv_HAVE_FALLOCATE" != x"no"; then + AC_DEFINE(HAVE_FALLOCATE, 1, [De...
2020 May 25
0
[PATCH] Make len parameter of do_punch_hole OFF_T
...o_fallocate(int fd, OFF_T offset, OFF_T length) /* Punch a hole at pos for len bytes. The current file position must be at pos and will be * changed to be at pos + len. */ -int do_punch_hole(int fd, UNUSED(OFF_T pos), int len) +int do_punch_hole(int fd, UNUSED(OFF_T pos), OFF_T len) { #ifdef HAVE_FALLOCATE # ifdef HAVE_FALLOC_FL_PUNCH_HOLE -- 2.26.2 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: <http://lists.samba.org/pipermail/rsync/attachments/20200525/36eea89f/signa...
2010 Dec 18
1
undefined reference to fallocate64
Hi While compiling dovecot 2.0.8 on Ubuntu 9.10 I get the following error at make: ../../src/lib-dovecot/.libs/libdovecot.so: undefined reference to `fallocate64' Any idea how to resolve this? Thanks, Mike
2019 Oct 29
0
auth logging or auditing
..._HMAC_MD5 ?? HAVE_ENCTYPE_ARCFOUR_HMAC_MD5_56 ?? HAVE_ENDHOSTENT ?? HAVE_ENDMNTENT ?? HAVE_ENVIRON_DECL ?? HAVE_EPOLL ?? HAVE_EPOLL_CREATE ?? HAVE_ERR ?? HAVE_ERRNO_DECL ?? HAVE_ERRX ?? HAVE_ETHTOOL ?? HAVE_ETYPE_IN_ENCRYPTEDDATA ?? HAVE_EVENTFD ?? HAVE_EXECL ?? HAVE_E_DATA_POINTER_IN_KRB5_ERROR ?? HAVE_FALLOCATE ?? HAVE_FALLOC_FL_PUNCH_HOLE ?? HAVE_FAM ?? HAVE_FAMNOEXISTS ?? HAVE_FAMOPEN2 ?? HAVE_FAM_H_FAMCODES_TYPEDEF ?? HAVE_FCHMOD ?? HAVE_FCHOWN ?? HAVE_FCNTL_LOCK ?? HAVE_FCVT ?? HAVE_FDATASYNC ?? HAVE_FDATASYNC_DECL ?? HAVE_FDOPENDIR ?? HAVE_FLAGS_IN_KRB5_CREDS ?? HAVE_FLOCK ?? HAVE_FREEADDRINFO ??...
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem: /dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered) It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality. What can be the cause of this problem? Thanks. [2020/05/27 18:24:35.795379, 8]
2020 Jun 03
3
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
..._HMAC_MD5 HAVE_ENCTYPE_ARCFOUR_HMAC_MD5_56 HAVE_ENDHOSTENT HAVE_ENDMNTENT HAVE_ENVIRON_DECL HAVE_EPOLL HAVE_EPOLL_CREATE HAVE_ERR HAVE_ERRNO_DECL HAVE_ERRX HAVE_ETHTOOL HAVE_ETYPE_IN_ENCRYPTEDDATA HAVE_EVENTFD HAVE_EXECL HAVE_E_DATA_POINTER_IN_KRB5_ERROR HAVE_FALLOCATE HAVE_FALLOC_FL_PUNCH_HOLE HAVE_FALLTHROUGH_ATTRIBUTE HAVE_FCHMOD HAVE_FCHOWN HAVE_FCNTL_LOCK HAVE_FCVT HAVE_FDATASYNC HAVE_FDOPENDIR HAVE_FLAGS_IN_KRB5_CREDS HAVE_FLOCK HAVE_FMEMOPEN HAVE_FREEADDRINFO HAVE_FREEIFADDRS HAVE_FREE_CHECKSUM HAVE_FRSIZE...