search for: setlk

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

Did you mean: setlt
2019 Sep 11
0
[PATCH v5 0/4] virtio-fs: shared file system for virtual machines
...that a specific fh is returned. A mechanism to do so probably isn't necessary if the driver can update the fh to the new one produced by the device for all open files instead. * FUSE_OPENDIR -> fh (dirp_map) Same story as for FUSE_OPEN but for open directories. * FUSE_GETLK/SETLK/SETLKW -> (inode->posix_locks and fcntl(F_OFD_GET/SETLK)) The session contains file locks. The driver must reacquire them upon restore. It's unclear what to do when locking fails. Live migration has the same problem since the FUSE session will be moved to a new virtio-fs device...
2019 Sep 12
0
[PATCH v5 0/4] virtio-fs: shared file system for virtual machines
...ecessary if the > > driver can update the fh to the new one produced by the device for > > all open files instead. > > > > * FUSE_OPENDIR -> fh (dirp_map) > > > > Same story as for FUSE_OPEN but for open directories. > > > > * FUSE_GETLK/SETLK/SETLKW -> (inode->posix_locks and fcntl(F_OFD_GET/SETLK)) > > > > The session contains file locks. The driver must reacquire them upon > > restore. It's unclear what to do when locking fails. > > > > Live migration has the same problem since the FUSE...
2016 Jan 06
0
[klibc:master] MIPS: Update archfcntl.h
...t; CommitDate: Tue, 5 Jan 2016 17:45:36 -0800 [klibc] MIPS: Update archfcntl.h Update usr/include/arch/mips/archfcntl.h from kernel headers: - Add definitions of O_PATH, O_TMPFILE - Update value of O_SYNC to include __O_SYNC - Add definitions of F_{SET,GET}OWN_EX, F_GETOWNER_UIDS, F_OFD_{GETLK,SETLK,SETLKW}, F_OWNER_{TID,PID,PGRP} Signed-off-by: Ben Hutchings <ben at decadent.org.uk> Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/include/arch/mips/klibc/archfcntl.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/usr/incl...
2019 Jan 18
0
[klibc:master] fcntl: Fix file locking numbers for 64-bit architectures
...thor: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Fri, 18 Jan 2019 18:39:21 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 18:46:45 +0000 [klibc] fcntl: Fix file locking numbers for 64-bit architectures On 64-bit architectures F_{GETLK,SETLK{,W}}64 are *not* aliases for the non-64 fcntl numbers and are not implemented at all. Only use them in 32-bit configurations. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/fcntl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/include/fcntl.h b/usr/in...
2012 Dec 07
2
Performance problems while running doveadm purge
I have a rather large and active mdbox (28 GB, 3M mess, 1200 deliveries/day). I usually have no problems working with those mails, and there is some batch processing going on (via doveadm). Every few weeks I try my luck running doveadm purge, and this a) crunches about 5GB (to be expected), b) takes rather long (ok), c) leads to long stretches of blocked mdbox, which is the problem. I always
2008 Oct 07
2
1.1.4 and trouble over NFS
Hello, I have some trouble with the current setup (it's a testing environment): 2 server with Dovecot 1.1.4 from source (OS Debian testing 2.6.26) (name: "exim" and "exim2") 1 NFS server (OS Debian testing 2.6.26) I use NFS v.4, indexes shared over NFS. The relavant part of Dovecot configuration: dotlock_use_excl = yes mail_nfs_storage = yes mail_nfs_index = yes
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various architectures that we've applied in Debian. Ben. Aurelien Jarno (1): ppc64: fix struct stat Ben Hutchings (2): MIPS: Update archfcntl.h syscalls: Override detection of direct socket syscalls on i386, m68k, s390 Helge Deller (1): Add pread and pwrite 32bit syscall wrappers for parisc Mauricio Faria de Oliveira