2005-12-13 06:39:54

by Deven Balani

[permalink] [raw]
Subject: patch for splice system call.

Hi All!

I am routing data from a tuner to harddisk.
I came to know splice() is something related to do real-time IO.
I believe direct IO doesn't address this scenario.

Can any one refer me the source to the patch of splice() system call.

Regards,
Deven

On 12/9/05, Alex Riesen <[email protected]> wrote:
> On 12/9/05, Deven Balani <[email protected]> wrote:
> > I am writing a libata-complaint SATA driver for an ARM board.
> >
> > I want to do data streaming from a tuner into the SATA hard disk.
> >
> > In other words, I am getting a buffer of stream in kernel space, which
> > I had to store it in SATA hard disk.
>
> can this be of interest:
>
> http://groups.google.de/group/fa.linux.kernel/browse_frm/thread/21b2b3215f35e21a/bcbc00b7a0151afd?tvc=1&q=linux-kernel+Make+pipe+data+structure+be+a+circular+list+of+pages#bcbc00b7a0151afd
>


2006-01-09 01:38:11

by Coywolf Qi Hunt

[permalink] [raw]
Subject: Re: patch for splice system call.

2005/12/13, Deven Balani <[email protected]>:
> Hi All!
>
> I am routing data from a tuner to harddisk.
> I came to know splice() is something related to do real-time IO.
> I believe direct IO doesn't address this scenario.
>
> Can any one refer me the source to the patch of splice() system call.
>

sendfile (2) ?

> Regards,
> Deven
>
> On 12/9/05, Alex Riesen <[email protected]> wrote:
> > On 12/9/05, Deven Balani <[email protected]> wrote:
> > > I am writing a libata-complaint SATA driver for an ARM board.
> > >
> > > I want to do data streaming from a tuner into the SATA hard disk.
> > >
> > > In other words, I am getting a buffer of stream in kernel space, which
> > > I had to store it in SATA hard disk.
> >
> > can this be of interest:
> >
> > http://groups.google.de/group/fa.linux.kernel/browse_frm/thread/21b2b3215f35e21a/bcbc00b7a0151afd?tvc=1&q=linux-kernel+Make+pipe+data+structure+be+a+circular+list+of+pages#bcbc00b7a0151afd
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


--
Coywolf Qi Hunt