lkml.org 
[lkml]   [2002]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectusing a device in O_DIRECT mode through a FS
Date
I've managed to mount a block device in "direct" mode in 2.5.31,
by modifying the block driver to set the O_DIRECT flag on opens, but
this doesn't affect subsequent accesses to files on the mounted
filesystem. They're cached in VMS as usual, instead of going straight
to the metal and back.

Can anyone indicate to me what I have to do in order to make all
accesses to structures on the mounted FS avoid VMS also? Is it a FS
thing? If so, what do I have to alter where in the FS driver? (Yes,
I imagine it's whatever the open call translates to ..).

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