similar to: O_DIRECT

Displaying 20 results from an estimated 2000 matches similar to: "O_DIRECT"

2010 Nov 19
5
[PATCH 1/1] Ocfs2: Teach 'coherency=full' O_DIRECT writes to correctly up_read i_alloc_sem.
Former logic of ocfs2_file_aio_write() was a bit stricky to unlock the rw_lock and i_alloc_sem, by using some private bits in struct 'iocb' to communite with ocfs2_dio_end_io(), it did work before we introduce the patch of supporting 'coherency=full,buffered' option, since rw_lock and i_alloc_sem were never acquired both at the same time, no mattar we doing buffered or direct IO or
2004 Dec 01
2
cp --o_direct
Another question. When my database is running, I do [oracle@LNCSTRTLDB03 LPTE3]$ cp --o_direct xdb01.dbf /tmp cp: cannot open `xdb01.dbf' for reading: Permission denied [oracle@LNCSTRTLDB03 LPTE3]$ When the database is shudown it works. Is this normal for ocfs because with any other filesystem I can just copy a file at any time (Its only a testing, I know I cant copy datafiles and have
2004 May 28
1
dovecot and nfs
I configured dovecot on a Fedora Core 2 system - the version that comes with FC2. I was using it with a RHEL 3 NFS server. Dovecot would again and again get stuck trying to grab an fcntl lock, even though I specified that it should only use dotlocks in dovecot.conf. Sometimes it would segfault (leaving things locked?). Often there would be two dovecot imapd processes for the same user.
2004 Sep 07
1
large blocksize for transferring files from one filesystem to another on the same disk?
Is there any way of increasing rsync's block transfer size for when you need to transfer data from one filesystem to another on the same disk? Using a large blocksize tends to decrease track to track seeks. If I put a large dd or something in between two tar's in such a situation, I see over double the throughput on an AIX system (1M vs 64K). Thanks. -- Dan Stromberg DCS/NACS/UCI
2004 Oct 24
1
rsync recopying files it shouldn't?
We've been using this version of rsync: rsync version 2.6.2 protocol version 28 Copyright (C) 1996-2004 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 64-bit system inums, 64-bit internal inums ...with these options: /usr/local/bin/rsync -a --stats --progress --block-size
2004 Oct 14
2
mbox and maildir
Is it possible to mix maildir and mbox formats with dovecot? For example, I would like ~/mail to be in maildir format yet keep the inbox (/var/mail/%u) in mbox format. If so, how may I go about this? Or am I stuck not being able to create subdirectories in ~/mail? Cheers, Shane
2004 Jun 02
7
Advice on converting from Mbox to Maildir?
Does anyone have advice or pointers on good documentation on how to convert a system from using the Mbox format to using Maildir? I recently upgraded to Fedora Core 2 from Fedora Core 1 and discovered that UW-IMAP was gone. So I switched over to using Dovecot. So far so good. But I would like to convert my system to start using the Maildir format. How easy is this to accomplish? Can I keep
2020 Aug 07
2
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Fri, Aug 07, 2020 at 05:29:24PM +0300, Nir Soffer wrote: > On Fri, Aug 7, 2020 at 5:07 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > These ones? > > https://www.redhat.com/archives/libguestfs/2020-August/msg00078.html > > No, we had a bug when copying image from glance caused sanlock timeouts > because of the unpredictable page cache flushes. > > We
2004 Nov 19
1
[Fwd: Re: [Evolution] evo confused when searching message bodies on large folders?]
Is this possibly a problem with dovecot 0.99.10.9? Maybe it's been fixed in a later release? Might it be a security issue? Thanks! -------------- next part -------------- An embedded message was scrubbed... From: Not Zed <notzed at ximian.com> Subject: Re: [Evolution] evo confused when searching message bodies on large folders? Date: Fri, 19 Nov 2004 08:11:15 +0800 Size: 3444 URL:
2004 Sep 03
2
From OCFS to tape via tar (and back again)
We're using RMAN to back up our 9.2 RAC database to an OCFS v1 volume. We have an existing shell script that we use for copying files from disk to tape via tar, one file at a time. (Don't ask why. It's a legacy script. Long story.) We're tweaking this script to use --o_direct when tarring the file to tape and that seems to be working fine: # tape device is /dev/nst0 $ tar
2004 Jun 03
1
0.99.10.5 imap flag update issues
Hi, there is an issue left in 0.99.10.5 which (I think) is a problem with imap status flags. It shows up in two places: (1) When new mail is delivered to the inbox, the last read mail changes to "unread". (2) When you move mails from the inbox to another folder with Mozilla (1.6 on win32, Linux, NetBSD), they are not removed from the inbox, effectively performing a copy instead of a
2004 Jun 15
1
flat file mailbox formats
I've tried to write the new mbox code in a way that it could be moved into generic flat-file library with mbox-specific code being implemented on top of that. The code would be useful for all formats that require modifying message headers to store the metadata. How many such are there? I suppose all such formats could be implemented by separating mails into 3 logical parts: - header
2003 Sep 26
2
On purpose slow copy support?
I'd like to use rsync on a production box that has a great deal of memory-cached filesystem in use at all times. Is there any way, or any other tool, that will do a "slow" copy? purposefully not busting the cache by copying things as fast as possible? "nice" does not work, of course, as that is a cpu scheduling control. What I want is basically lowest-priority or
2010 Feb 03
0
[PATCH] ocfs2: Add parenthesis to wrap the check for O_DIRECT.
Add parenthesis to wrap the check for O_DIRECT. Signed-off-by: Tao Ma <tao.ma at oracle.com> --- fs/ocfs2/file.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 06ccf6a..b2ca980 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -2013,8 +2013,8 @@ out_dio: /* buffered aio wouldn't have proper lock coverage today
2011 Sep 04
1
Rsync with direct I/O
As far as I can tell rsync doesn't support this. How hard would it be to implement this? Is it trivial enough to just change the calls in the code with sed? I think this can significantly reduce CPU usage and increase I/O speed when dealing with fast storage solutions. It can make a huge difference when say transferring 30TB of data. Here are some tests I did. So far the only thing I know
2005 Oct 19
2
rsync and o_direct
Hi We currently use rsync for various jobs at our company. We are now looking at using it to create an offsite synchonised copy of an Oracle 10g RAC archive logs area. The source area is on Oracle OCFS filesystem. The OCFS filesystem requires all reads/writes to be performed with the O_DIRECT option, thus bypassing cache. Oracle provide an updated coreutils package which includes the
2006 Oct 15
3
open(2) O_DIRECT on smbmount gives EINVAL
Does samba 3.0.23c not support the use of O_DIRECT? When I try to open an smbmount'd file using O_DIRECT, I get EINVAL. I am able to use O_DIRECT with no problems on a block device and nfs mounts, so I know the kernel supports it. samba: 3.0.23c kernel: 2.6.9-42.0.3.EL (32-bit) I am using the below code for my test. smb fails on open(2). #include <fcntl.h> #include
2005 Oct 25
0
Fwd: rsync and o_direct
Guys, posted this last week and had no response so far. Just posting again in case anyone missed it. I really could do with knowing as it's delaying the rollout of a new project I'm working on. Thanks, Simon -- Hi We currently use rsync for various jobs at our company. We are now looking at using it to create an offsite synchonised copy of an Oracle 10g RAC archive logs area. The
2004 Jun 08
1
OCFS write/read across 2 nodes
Hi, If I have ocfs on 2 nodes should I be able to do the following: t=0 Node A echo "1" > /ocfsmount/a Node B cat /ocfsmount/a >>>>Question 1: At this point should I see "1"? t=1 Node A echo "2" > /ocfsmount/a Node B cat /ocfsmount/a >>>>Question 2: At this point should I see
2013 May 24
0
Re: [Qemu-devel] use O_DIRECT to open disk images for IDE failed under xen-4.1.2 and qemu upstream
On Fri, May 24, 2013 at 02:59:05AM +0000, Gonglei (Arei) wrote: > Hi, > > > > > On Thu, 23 May 2013, Gonglei (Arei) wrote: > > > Hi, all > > > > > > I use O_DIRECT to open disk images for IDE, but I'm failed. After debug, I get > > the below logs: > > > [2013-05-22 23:25:46] ide: CMD=c8 > > > [2013-05-22 23:25:46] bmdma: