Amos, Thanks. I'll give it a try.
Gilboa On Wed, 2005-08-31 at 08:40 +1000, Amos Shapira wrote: > Have you though of startting with the code of sendfile and going from > there to add the processing? > > --Amos > > On 8/30/05, Gilboa Davara <[EMAIL PROTECTED]> wrote: > > On Tue, 2005-08-30 at 14:40 +0300, guy keren wrote: > > > On Tue, 30 Aug 2005, Gilboa Davara wrote: > > > > > > > > Anyway, if you don't know how to use O_DIRECT from inside the kernel, > > > > > why don't you take a look at the part in teh kernel that implments > > > > > O_DIRECT from user space and do the same thing? > > > > > > > > Already on it; However, this code is fairly complex. It involves the > > > > file management, vmm, etc. It's very easy to get lost in there... :/ > > > > If I can save the next 3 days of ctags drilling (or at least get some > > > > pointers as for where to look) I'll be one happy man. > > > > > > you can save the next 3 days by deciding this is a very good idea to learn > > > how this code works, without taking short-cuts, since you'll need this > > > knowledge later on when you'll have bugs, when you'll need to make it > > > behave a little differently, etc. > > > > .. Let me correct myself. > > I'm not looking for a code sample, I am looking for info. > > Book, URL, etc. > > Seems that as you go deeper inside the kernel, the less 'printed' > > documentation exists. > > > > Gilboa > > > > > > ================================================================= > > To unsubscribe, send mail to [EMAIL PROTECTED] with > > the word "unsubscribe" in the message body, e.g., run the command > > echo unsubscribe | mail [EMAIL PROTECTED] > > > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
