Displaying 14 results from an estimated 14 matches for "have_posix_fallocate".
2008 Jan 20
4
v1.1.beta14 released (Compile Error)
On Jan 20, 2008, at 12:15 PM, dovecot-request at dovecot.org wrote:
>
> Message: 5
> Date: Sun, 20 Jan 2008 15:48:09 +0200
> From: Timo Sirainen <tss at iki.fi>
> Subject: [Dovecot] v1.1.beta14 released
> To: dovecot at dovecot.org
> Message-ID: <1200836889.12450.99.camel at hurina>
> Content-Type: text/plain; charset="us-ascii"
>
>
2009 Jul 30
3
AIX and posix_fallocate
Hi,
AIX's implementation of posix_fallocate is a little bit, let me say,
peculiar. Attached is a patch to "fix" (=work around) this.
Without you'll see this in the logs:
Jul 28 01:17:41 trevi mail:err|error dovecot: IMAP(beckerr):
posix_fallocate() failed: File exists
Jul 28 01:17:41 trevi mail:err|error dovecot: IMAP(beckerr):
file_set_size() failed with mbox file
2013 Aug 05
1
Corrupted mboxes with v2.2.4, posix_fallocate and GFS2
...1322 return -1;
When posix_fallocate extends the mailbox beyond the requested 'file_size',
a variable size block of NUL bytes is left behind at the tail of the
mailbox, with the side effects described above.
I successfully worked around this issue by undefining
HAVE_POSIX_FALLOCATE, as the performance penalty with falling back
to direct block appends seems small.
At least a size check (and possible truncation) after the
mbox_sync_file_updated call above should probably be added.
I thought that the issue would be anyway worth bringing to your attention.
Thanks.
Francesco Pr...
2011 May 15
2
Compilation problem with linux/falloc.h include in rsync.h
...e 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_FALLOCATE remains undefined.
I double checked the config.log to see why the configuration step passed and
the final compilation failed.
Here is the code extracted from configure.sh to check the availability of
fallocate:
#include <fcntl.h>
#include <sys/types.h>
int
main ()...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...AVE_MSGHDR_MSG_CONTROL
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NL_LANGINFO
HAVE_OPEN64
HAVE_PAM_GET_DATA
HAVE_PAM_RADIO_TYPE
HAVE_PAM_VSYSLOG
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POSIX_ACLS
HAVE_POSIX_FADVISE
HAVE_POSIX_FALLOCATE
HAVE_POSIX_FALLOCATE64
HAVE_POSIX_MEMALIGN
HAVE_PRCTL
HAVE_PREAD
HAVE_PREAD64
HAVE_PREAD_DECL
HAVE_PRINTF
HAVE_PTHREAD
HAVE_PTRDIFF_T
HAVE_PUTUTLINE
HAVE_PUTUTXLINE
HAVE_PWRITE
HAVE_PWRITE64
HAVE_PWRITE_DECL
HAVE_QUOTACTL_LINUX
HAVE_RAND
HAVE_RANDO...
2019 Oct 29
0
auth logging or auditing
..._PANEL
?? HAVE_NFS_QUOTAS
?? HAVE_NFTW
?? HAVE_OFD_LOCKS
?? HAVE_OPENAT
?? HAVE_OPENPTY
?? HAVE_OPEN_O_DIRECT
?? HAVE_PATHCONF
?? HAVE_PEERCRED
?? HAVE_PERL_MAKEMAKER
?? HAVE_PIPE
?? HAVE_POLL
?? HAVE_POPT
?? HAVE_POPTGETCONTEXT
?? HAVE_POSIX_ACLS
?? HAVE_POSIX_CAPABILITIES
?? HAVE_POSIX_FADVISE
?? HAVE_POSIX_FALLOCATE
?? HAVE_POSIX_MEMALIGN
?? HAVE_POSIX_OPENPT
?? HAVE_PRCTL
?? HAVE_PREAD
?? HAVE_PREAD_DECL
?? HAVE_PRINTF
?? HAVE_PROGRAM_INVOCATION_SHORT_NAME
?? HAVE_PTHREAD
?? HAVE_PTHREAD_ATTR_INIT
?? HAVE_PTHREAD_CREATE
?? HAVE_PTHREAD_MUTEXATTR_SETROBUST
?? HAVE_PTHREAD_MUTEX_CONSISTENT
?? HAVE_PTRDIFF_T
??...
2017 Jun 08
2
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
On Thu, 2017-06-08 at 10:09 +0200, awl1 via samba wrote:
> Hello again, Samba experts,
>
> sorry for being such a pain in your necks, but I really need to get a
> recent Samba version to compile, and it looks like I definitely need
> your help with this.
>
> In the meantime, I have found that the huge number of "conflicting
> types" errors for rpc_*_init(...)
2007 Nov 05
13
preallocate CPU usage - pre4
When I use the preallocate patch and create a 77GB file using the function I
get a CPU spike on the server-side. The spike lasts about 20 minutes and
uses about 20%-25% of the cpu associated with the rsync instance creating
the file. The spike is directly linked to the time it takes to create the
file.
I compiled rsync using cygwin CVS. I initially suspected the implementation
of
2013 May 14
3
frequent tdb corruption
...OCKALL
HAVE_MMAP
HAVE_MSGHDR_MSG_CONTROL
HAVE_MUNLOCK
HAVE_MUNLOCKALL
HAVE_NANOSLEEP
HAVE_NATIVE_ICONV
HAVE_NEW_LIBREADLINE
HAVE_NL_LANGINFO
HAVE_NO_AIO
HAVE_PAM_GET_DATA
HAVE_PAM_RHOST
HAVE_PAM_TTY
HAVE_PATHCONF
HAVE_PIPE
HAVE_POLL
HAVE_POSIX_ACLS
HAVE_POSIX_FALLOCATE
HAVE_POSIX_MEMALIGN
HAVE_PRCTL
HAVE_PREAD
HAVE_PRINTF
HAVE_PTHREAD
HAVE_PTRDIFF_T
HAVE_PWRITE
HAVE_RAND
HAVE_RANDOM
HAVE_READLINK
HAVE_REALPATH
HAVE_RENAME
HAVE_ROKEN_GETADDRINFO_HOSTSPEC
HAVE_SA_FAMILY_T
HAVE_SECURE_MKSTEMP
HAVE_SELECT
HAVE_SENDFI...
2014 Jan 28
11
[PATCH 00/10] New API: disk-create for creating blank disks.
A lot of code runs 'qemu-img create' or 'truncate' to create blank
disk images.
In the past I resisted adding an API to do this, since it essentially
duplicates what you can already do using other tools (ie. qemu-img).
However this does simplify calling code quite a lot since qemu-img is
somewhat error-prone to use (eg: don't try to create a disk called
"foo:bar")
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
...VE_OPEN_O_DIRECT
HAVE_PAM_GET_DATA
HAVE_PAM_RADIO_TYPE
HAVE_PAM_RHOST
HAVE_PAM_START
HAVE_PAM_TTY
HAVE_PAM_VSYSLOG
HAVE_PATHCONF
HAVE_PEERCRED
HAVE_PIPE
HAVE_POLL
HAVE_POPT
HAVE_POPTGETCONTEXT
HAVE_POSIX_ACLS
HAVE_POSIX_CAPABILITIES
HAVE_POSIX_FADVISE
HAVE_POSIX_FALLOCATE
HAVE_POSIX_MEMALIGN
HAVE_POSIX_OPENPT
HAVE_PRCTL
HAVE_PREAD
HAVE_PREAD_DECL
HAVE_PRINTF
HAVE_PROGRAM_INVOCATION_SHORT_NAME
HAVE_PTHREAD
HAVE_PTHREAD_ATTR_INIT
HAVE_PTHREAD_CREATE
HAVE_PTHREAD_MUTEXATTR_SETROBUST
HAVE_PTHREAD_MUTEX_CONSISTENT
HAVE_PTRDIFF_T...
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...OC_H:INTERNAL=
//Have symbol malloc_zone_statistics
HAVE_MALLOC_ZONE_STATISTICS:INTERNAL=
//Have symbol mkdtemp
HAVE_MKDTEMP:INTERNAL=1
//Have symbol mkstemp
HAVE_MKSTEMP:INTERNAL=1
//Have symbol mktemp
HAVE_MKTEMP:INTERNAL=1
//Have include ndir.h
HAVE_NDIR_H:INTERNAL=
//Have symbol posix_fallocate
HAVE_POSIX_FALLOCATE:INTERNAL=1
//Have symbol posix_spawn
HAVE_POSIX_SPAWN:INTERNAL=1
//Have symbol pread
HAVE_PREAD:INTERNAL=1
//Test HAVE_PROCESS_VM_READV
HAVE_PROCESS_VM_READV:INTERNAL=1
//Have library pthread
HAVE_PTHREAD_GETSPECIFIC:INTERNAL=1
//Have include pthread.h
HAVE_PTHREAD_H:INTERNAL=1
//Have library pthre...