Re: [PATCH 2/4] Remove readv/writev methods and use aio_read/aio_writeinstead

From: Ian Kent
Date: Tue May 23 2006 - 04:29:03 EST

Badari Pulavarty wrote:
On Mon, 2006-05-22 at 10:06 -0700, Andrew Morton wrote:
Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
On Sun, 2006-05-21 at 18:00 -0700, Andrew Morton wrote:
Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
This patch removes readv() and writev() methods and replaces
them with aio_read()/aio_write() methods.
And it breaks autofs4

autofs: pipe file descriptor does not contain proper ops

Any easy test case to reproduce the problem ?

Grab an FC5 setup, copy RH's .config into your tree.

Will do.

Like I mentioned, I am travelling this week. I would really
appreciate if someone could test my updated patch (I sent out
in my earlier mail).

Doesn't seem to apply to 2.6.17-rc4.

[raven@raven linux-2.6.16]$ patch -p1 < ~/remove-readv_writev-methods-and-use-aio_read_aio_write.patch
patching file drivers/char/raw.c
Hunk #1 succeeded at 270 (offset 12 lines).
patching file drivers/net/tun.c
patching file fs/bad_inode.c
patching file fs/block_dev.c
Hunk #1 succeeded at 1101 (offset 8 lines).
patching file fs/cifs/cifsfs.c
Hunk #1 FAILED at 484.
1 out of 3 hunks FAILED -- saving rejects to file fs/cifs/cifsfs.c.rej
patching file fs/compat.c
patching file fs/ext2/file.c
patching file fs/ext3/file.c
Hunk #1 succeeded at 111 (offset -1 lines).
patching file fs/fat/file.c
patching file fs/fuse/dev.c
patching file fs/hostfs/hostfs_kern.c
patching file fs/jfs/file.c
patching file fs/ntfs/file.c
Hunk #1 succeeded at 2298 (offset 2 lines).
patching file fs/pipe.c
patching file fs/read_write.c
Hunk #2 succeeded at 439 (offset -12 lines).
Hunk #4 succeeded at 574 (offset -12 lines).
Hunk #6 succeeded at 619 (offset -12 lines).
patching file fs/read_write.h
patching file fs/xfs/linux-2.6/xfs_file.c
Hunk #1 succeeded at 131 with fuzz 1 (offset 2 lines).
Hunk #3 succeeded at 513 (offset 2 lines).
patching file include/linux/fs.h
patching file mm/filemap.c
Hunk #1 succeeded at 2300 (offset 2 lines).
patching file net/socket.c
Hunk #3 FAILED at 732.
Hunk #4 FAILED at 774.
2 out of 4 hunks FAILED -- saving rejects to file net/socket.c.rej
patching file sound/core/pcm_native.c
[raven@raven linux-2.6.16]$

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