xfs
[Top] [All Lists]

Re: streaming media and realtime subvolume

To: George Georgalis <georgw@xxxxxxxxx>
Subject: Re: streaming media and realtime subvolume
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 07 Nov 2002 11:38:49 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20021107173730.GB8321@trot>
References: <20021107151729.GA7085@trot> <1036683254.13907.4.camel@xxxxxxxxxxxxxxxxxxxxxx> <20021107173730.GB8321@trot>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, 2002-11-07 at 11:37, George Georgalis wrote:
> Can you give examples of 'direct i/o'? do you mean like dd? from which I
> can pipe stdout to my media player?

No, like O_DIRECT, as in:

fd = open("tempfile_direct", O_CREAT|O_RDWR|O_DIRECT, 0666);

It bypasses the buffer cache.

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.         651-683-3102


<Prev in Thread] Current Thread [Next in Thread>