lkml.org 
[lkml]   [2002]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: block device/VM question
Hi,

On Tue, 27 Aug 2002, Peter T. Breuer wrote:
> Yecch. I have the inode of the sepecial device file. I don't want to
> know the name. I even have a file pointer.

Then you're obviously for the wrong stuff.

> In dentry_open(), we get a struct file f = get_empty_filp(), and then
> fill out various of its fields with enormously obscure things.

For a good reason: we always need to fill in the values somewhere, they
don't quite come from heaven.

> And for the O_DIRECT flag we seem to do alloc_kiovec(1, &f->f_iobuf).

Perhaps we should go biovec here?

For you, if you can stand it you can even go directly into the dio stuff
from direct-io.c. You'll just need to know what to do. Or you fill your
information into some underway function.

Thunder
--
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.203 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site