search for: o_direct

Displaying 20 results from an estimated 262 matches for "o_direct".

2009 Mar 11
1
Enterprise Application with O_DIRECT access
Hello everyone, I am learning and evaluating a glusterfs for film/video editing facilities. Some major film/video editing realtime applications are using the O_DIRECT file access for video/audio data files. The GLFS client via fuse mechanism is disallow the open file with O_DIRECT flag. I made a little sample code for read a file with O_DIRECT flag, and tried open the files on GLFS volumes. It returned "invalid arg" when open the file. It is OK when op...
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...
2010 Oct 09
2
[PATCH 1/2] Ocfs2: Add a mount option "coherency=*" for O_DIRECT writes.
Currently, default behavior of O_DIRECT writes was allowing concurrent writing among nodes, no cluster coherency guaranteed (no EX locks was taken), it hurts buffered reads on other nodes by reading stale data from cache. The new mount option introduce a chance to choose two different behaviors for O_DIRECT writes: * coherency=full...
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 --o_direct switch in cp, tar, dd etc to allow "normal" file operations on OCFS filesystems. My question is, is there a facility to ensure rsync reads files in O_DIRECT mode so that we can use it...
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)...
2007 Mar 07
1
ioemu in config file and O_DIRECT option
...ecause i did not notice any difference in para as well as full virtulization. Same as in case of exporting the disk to Guest dom. Is it just a placeholder or else ? Second thing, I am running RHEL3 as a HVM DomU on xen-3.0.4. Every thing works fine, but i had a problem to write a file opened with O_DIRECT option. Does it supports all file IO options ( O_DIRECT etc. ) that RHEL3 supports as normal or does it depends on the drivers, that only for a set of drivers is supports all IO options or something we have to configure in DomU. Thanks, --Trilok _______________________________________________ X...
2007 Jan 16
4
ocfs Vs ocfs2
Hi everbody this is my first post, I have two test server .(Both of them is idle) db1 : RHEL4 OCFS2 db2 : RHEL3 OCFS I test the IO both of them The result is below. db1(Time Spend)db2(Time Spend)OS Test Command dd (1GB) (Yazma)0m0.796s0m18.420stime dd if=/dev/zero of=./sill.t bs=1M count=1000 dd (1GB) (Okuma)0m0.241s8m16.406stime dd of=/dev/zero if=./sill.t bs=1M count=1000 cp
2007 Jan 16
4
ocfs Vs ocfs2
Hi everbody this is my first post, I have two test server .(Both of them is idle) db1 : RHEL4 OCFS2 db2 : RHEL3 OCFS I test the IO both of them The result is below. db1(Time Spend)db2(Time Spend)OS Test Command dd (1GB) (Yazma)0m0.796s0m18.420stime dd if=/dev/zero of=./sill.t bs=1M count=1000 dd (1GB) (Okuma)0m0.241s8m16.406stime dd of=/dev/zero if=./sill.t bs=1M count=1000 cp
2008 Aug 17
2
mirroring with LVM?
...ble allocatable extents for logical volume : 10240 more required Any ideas? Thanks!, Gordon Here's the output from the lvconvert with verbose and debugging turned on: # lvconvert -vvv -d -m1 /dev/vg1/iscsi_deeds_data Processing: lvconvert -vvv -d -m1 /dev/vg1/iscsi_deeds_data O_DIRECT will be used Setting global/locking_type to 1 File-based locking selected. Setting global/locking_dir to /var/lock/lvm Setting activation/mirror_region_size to 512 Getting target version for linear dm version OF [16384] dm versions OF [16384] Gett...
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 --o_direct -cvf /dev/nst0 /ocfs/RMAN_test_file ./RMAN_test_file But, to pull that same file back off tape and save it to the original OCFS location, it seems that we cannot use --o_direct: # ski...
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: /* buffe...
2020 Aug 07
2
Re: [PATCH nbdkit] file: Implement cache=none and fadvise=normal|random|sequential.
On Fri, Aug 07, 2020 at 04:43:12PM +0300, Nir Soffer wrote: > On Fri, Aug 7, 2020, 16:16 Richard W.M. Jones <rjones@redhat.com> wrote: > > I'm not sure if or even how we could ever do a robust O_DIRECT > > > > We can let the plugin an filter deal with that. The simplest solution is to > drop it on the user and require aligned requests. I mean this is very error prone. It requires the end user to know about the basically unknowable restrictions of O_DIRECT and isn't even poss...
2004 Mar 10
1
copy error + control file corruption in ocfs 1.10
Wim, Below are two problems I found in testing the newly released ocfs version. Just for your information. Gr, Robert. - Copying of multiple files gives errors [oracle@prac01 test]$ cp --o_direct -R ./a2/* ./backup/a2/. cp: writing `./backup/a2/./ccdata.dbf.bck': Invalid argument cp: writing `./backup/a2/./ccindex.dbf': Invalid argument cp: writing `./backup/a2/./control02.ctl': Invalid argument cp: writing `./backup/a2/./system01.dbf': Invalid argument cp: writing `./backup...
2005 Oct 25
0
Fwd: rsync and o_direct
...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 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 --o_direct switch in cp, tar, dd etc to allow "normal" file operations on OCFS filesystems. My question is, is there a facility to ensure rsync reads files in O_DIRECT mode so that we can use it...
2006 Jul 24
1
O_DIRECT
It'd be pretty cool if rsync supported use of O_DIRECT on platforms that support it, with or without my odirect package: http://dcs.nac.uci.edu/~strombrg/odirect/ I say this because rsync is sometimes used to move a mountain of data, just once. So there's little point in rsync toasting one's buffer cache. I gather there's something like...
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: readb 0x00 : 0x08 > > > [2013-05-22 23:25:46] bmdma: writeb 0x00 : 0x09 > > > [2013-05-22 23:2...
2004 Mar 10
2
copy error + control file corruption in ocfs 1.1 0
...#39;ocfs-users@oss.oracle.com' Subject: [Ocfs-users] copy error + control file corruption in ocfs 1.10 Wim, Below are two problems I found in testing the newly released ocfs version. Just for your information. Gr, Robert. - Copying of multiple files gives errors [oracle@prac01 test]$ cp --o_direct -R ./a2/* ./backup/a2/. cp: writing `./backup/a2/./ccdata.dbf.bck': Invalid argument cp: writing `./backup/a2/./ccindex.dbf': Invalid argument cp: writing `./backup/a2/./control02.ctl': Invalid argument cp: writing `./backup/a2/./system01.dbf': Invalid argument cp: writing `./backup...
2008 Feb 26
2
[PATCH]: Make Xen 3.1 IDE flush on O_DIRECT with drive caching off
All, Long ago Xen added code to the device model to basically do an fsync() after every data write if the user in the guest specified that IDE write caching should be disabled. This works fine, except in the case where you are doing O_DIRECT writes inside the guest (ala dd if=/dev/zero of=/dev/hdb oflag=direct). This is because you can get out of ide_write_dma_cb() in the middle of the loop without going through the logic to sync. This simple patch makes sure that you always check (and sync) inside the write callback. This patch app...
2003 Mar 21
1
O_DIRECT
Hello, Just became curious - is O_DIRECT already supported on ext3 or not yet? And a little bit offtopic :). Is that flag supported on some other filesystem other than ext2? Thanks, Mindaugas
2005 Mar 17
1
ocfs seek-performance
...throughput does not exceed 10mb/s, average is 7-8 mb/s. i've used 'iostat -x' and got rkB/s=8000 while %util=100% (device was saturated) from kernel's POV. i did some benchmarking with Bonnie (http://www.textuality.com/bonnie/): # ./Bonnie -d /tmp/ocfstest/ -s 1024 -m bn1rac001 -o_direct -p 1 Bonnie 1.4: File '/tmp/ocfstest/Bonnie.7166', size: 1073741824, volumes: 1 Using O_DIRECT for block based I/O Writing with putc()... done: 10816 kB/s 59.1 %CPU Rewriting... done: 15607 kB/s 2.2 %CPU Writing intelligently... done: 18442 kB/s 2.1 %...