| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | O_DIRECT and linux |
| From: | Gabor Forgacs <gabor@xxxxxxxxxxxxxx> |
| Date: | Thu, 3 Oct 2002 14:27:31 +0200 |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.4.1 |
Thanx for the answers to my previous question
I am still tweaking with direct io under linux.
I just don't know how to get the requirements for directio
under irix i used the
struct dioattr dio;
if( -1 == fcntl( fd, F_DIOINFO, &dio))
{
perror("fcntl");
exit(1);
}
It just doesn't work under linux, dioattr and the F_DIOINFO are undefined.
I can see the O_DIRECT if i define the _GNU_SOURCE.
What is the way under linux ?
Thanx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | XFS test 064 race-condition ?, Frasenyak Dmitrij |
|---|---|
| Next by Date: | Re: O_DIRECT and linux, Stephen Lord |
| Previous by Thread: | XFS test 064 race-condition ?, Frasenyak Dmitrij |
| Next by Thread: | Re: O_DIRECT and linux, Stephen Lord |
| Indexes: | [Date] [Thread] [Top] [All Lists] |