lkml.org 
[lkml]   [2002]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: block device/VM question
Date
"A month of sundays ago Thunder from the hill wrote:"
> On Tue, 27 Aug 2002, Peter T. Breuer wrote:
> > You mean do a syscall with flags O_DIRECT from within the driver?
> > I don't like syscalsl from kernel code, but if you say so, I'll think
> > about it.
>
> Not exactly, but it's a starting point. See how.

I think you're directing my attention to how to get to the inode of the
special device file. That's OK. I can get to that with no hassle. Once
there I can do whatever the sysopen with O_DIRECT does.

> <URL:ftp://ftp.es.kernel.org/pub/linux/docs/manpages/man-pages-1.53.tar.bz2>
>
> Contains lots of the useful stuff.

I'm sure :-). But until it gets packaged for debian I don't touch :-/.

> > suggesting that it depends on the mode of access to the device? That I
> > can't control - I simply want ALL accesses to not be cached.
>
> That's a word, and confirms the O_DIRECT interface. However, that still
> doesn't enable me to tell you what exact implementation you'll need. Do
> you understand my point?

Evidently not. You must be saying that there are two possible
implementations, and that it is up to me to choose one that I like.
That's nice, but I would like to have the possibilities to choose from
in front of me! While we know schoedinger's cat may only exist or not
exist, it is only possible to say which of the two I prefer once I
have seen at least one of them :-).

Peter
-
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.033 / U:4.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site