| To: | "Rosenthal, Eric S." <Eric.S.Rosenthal@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Direct I/O question: How to get dioinfo using ioctl? |
| From: | Andi Kleen <ak@xxxxxxx> |
| Date: | Tue, 15 May 2001 00:15:14 +0200 |
| Cc: | "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx> |
| In-reply-to: | <99A560B38BC6D21180020004ACA6B36A031FAF64@ds-naso-msa2.wds.disney.com>; from Eric.S.Rosenthal@disney.com on Mon, May 14, 2001 at 03:04:22PM -0700 |
| References: | <99A560B38BC6D21180020004ACA6B36A031FAF64@ds-naso-msa2.wds.disney.com> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
On Mon, May 14, 2001 at 03:04:22PM -0700, Rosenthal, Eric S. wrote: > > A couple of earlier threads mentioned this but didn't explain how to do it. > Direct I/O appears to work with the following code, but the ioctl command > returns an error. I'm looking for a command that does the same thing as > fcntl(fileDescriptor, F_DIOINFO, &dioinfo) does on IRIX. But I don't know > if the > ioctl command is running xfs_ioctl like it should. xfs_ioctl only runs when you use ioctl(2), not fcntl(2). Linux doesn't hand fcntl through the normal VFS, so XFS never sees it and has to use ioctl. -Andi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: DAC960 and XFS blocksize error, Russell Cattelan |
|---|---|
| Next by Date: | Re: XFS performance issue solved, Austin Gonyou |
| Previous by Thread: | Direct I/O question: How to get dioinfo using ioctl?, Rosenthal, Eric S. |
| Next by Thread: | Re: Direct I/O question: How to get dioinfo using ioctl?, Steve Lord |
| Indexes: | [Date] [Thread] [Top] [All Lists] |