[lkml]   [2002]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: fadvise syscall?
At 15:13 17/03/02, Ken Hirsch wrote:
>There is a posix_fadvise() syscall in the POSIX Advanced Realtime

Posix or not I still don't see why one would want that. You know what you
are going to be using a file for at open time and you are not going to be
changing your mind later. If you can show me a single _real_world_ example
where one would genuinely want to change from one access pattern to another
without closing/reopening a particular file I would agree that fadvise is a
good idea but otherwise I think open(2) is the superior approach.

In addition, open(2) allows you to do cool things like O_TEMP which could
create a file that would never get written to disk at all and on close
would just disappear again (just an idea, I can see good uses for such
things, although in a way we already have simillar semantics when one
creates such files on a tmpfs mount).

Best regards,

>I don't know if this has been mentioned on linux-kernel before, but in
>January, the Open Group, in cooperation with IEEE, added the POSIX
>functionality to their specification and made it available online for free.
>It's at
>There are some useful tables at
> and they ask that you
>register there so that they know how many people are using the
>They don't have a downloadable version of this specification, but they do
>for the previous versions:
>Ken Hirsch
>To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
>the body of a message to
>More majordomo info at

"I've not lost my mind. It's backed up on tape somewhere." - Unknown
Anton Altaparmakov <aia21 at> (replace at with @)
Linux NTFS Maintainer / WWW:
ICQ: 8561279 / WWW:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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