lkml.org 
[lkml]   [2002]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] direct-IO API change

On Fri, 4 Oct 2002, Andrew Morton wrote:
>
> Because the file handle which we have is for /dev/raw/raw0,
> not for /dev/hda1.
>
> The raw driver binds to major/minor, not a file*. I considered
> changing that (change userspace to pass the open fd). But didn't.

Ok. I'd really rather have a cleaner internal API and break the raw driver
for a while, than have a silly API just because the raw driver uses it.

Especially since I thought that O_DIRECT on the regular file (or block
device) performed about as well as raw does anyway these days? Or is that
just one of my LSD-induced flashbacks?

Linus

-
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:29    [W:0.787 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site