* [PATCH] remove broken direct I/O size ioctl
@ 2005-11-28 22:25 Christoph Hellwig
2005-11-28 22:43 ` Nathan Scott
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2005-11-28 22:25 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, linux-xfs
This ioctl tries to second guess direct I/O parameters which aren't
a filesystem drivers business and shouldn't be exposed as an ioctl
to start with.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/fs/xfs/linux-2.6/xfs_ioctl32.c
===================================================================
--- linux-2.6.orig/fs/xfs/linux-2.6/xfs_ioctl32.c 2005-11-18 10:29:41.000000000 +0100
+++ linux-2.6/fs/xfs/linux-2.6/xfs_ioctl32.c 2005-11-28 23:21:39.000000000 +0100
@@ -115,7 +115,6 @@
vnode_t *vp = LINVFS_GET_VP(inode);
switch (cmd) {
- case XFS_IOC_DIOINFO:
case XFS_IOC_FSGEOMETRY_V1:
case XFS_IOC_FSGEOMETRY:
case XFS_IOC_GETVERSION:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] remove broken direct I/O size ioctl
2005-11-28 22:25 [PATCH] remove broken direct I/O size ioctl Christoph Hellwig
@ 2005-11-28 22:43 ` Nathan Scott
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2005-11-28 22:43 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: akpm, linux-kernel, linux-xfs
On Mon, Nov 28, 2005 at 11:25:01PM +0100, Christoph Hellwig wrote:
> This ioctl tries to second guess direct I/O parameters which aren't
> a filesystem drivers business and shouldn't be exposed as an ioctl
> to start with.
Unfortunately there are some applications that will now start
to see errors from this ioctl if we go this route - whereas
before they would've been "functional", now they will break.
So, I think we need a different solution here. Yes, I agree
its a stupid call to have on Linux, but here we are, and apps
ported straight from IRIX have been made to use this.
cheers.
--
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-28 22:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-28 22:25 [PATCH] remove broken direct I/O size ioctl Christoph Hellwig
2005-11-28 22:43 ` Nathan Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®