HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- opening a file with direct I/O flag
Operating System - Tru64 Unix
1828217
Members
1875
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:04 AM
10-08-2004 08:04 AM
opening a file with direct I/O flag
Hi,
I'm trying to see if the file I open with the direct i/o flag is really in direct i/o mode and I'm always got the FCACHE indicator when I use the fnctl function.
Here the output:
> a.out
File opened
Number of bytes wrote: 11
File in cache
I/O mode is asynchronous
File closed
We are running Tru64 5.1b and the kernel parameter advfsSyncMmapPages is set to 1 so the file should not be memory mapped.
I attached the little test case.
Any help would be very appreciated.
Many thanks.
I'm trying to see if the file I open with the direct i/o flag is really in direct i/o mode and I'm always got the FCACHE indicator when I use the fnctl function.
Here the output:
> a.out
File opened
Number of bytes wrote: 11
File in cache
I/O mode is asynchronous
File closed
We are running Tru64 5.1b and the kernel parameter advfsSyncMmapPages is set to 1 so the file should not be memory mapped.
I attached the little test case.
Any help would be very appreciated.
Many thanks.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 10:42 AM
10-08-2004 10:42 AM
Re: opening a file with direct I/O flag
Something is broken in the program.
The fcntl call with F_GETCACHEPOLICY returns 1, and the variable is not changed.
Try: int ind_dio=12345;
You'll see it fail.
Maybe more later... (But first a beer, some dinner,...)
Hein
The fcntl call with F_GETCACHEPOLICY returns 1, and the variable is not changed.
Try: int ind_dio=12345;
You'll see it fail.
Maybe more later... (But first a beer, some dinner,...)
Hein
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP