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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Christoph Hellwig wrote:
On Sun, May 21, 2006 at 06:00:37PM -0700, Andrew Morton wrote:
Badari Pulavarty <[email protected]> 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
this comes because the autofs4 pipe fd doesn't have a write file

Badari do you remember any place in your patches where you didn't
add do_sync_write for a file_operations instance?

Ian, what kind of file is the autofs4 pipe?  is it a named pipe or
a fifo or a "real" file?
The autofs4 fill_super does an fget on a pipe file handle passed in the
mount options. It uses the write method of the returned file struct to
send packets back to the daemon. The fill_super method checks to see if
there is a write method present in the returned file struct and emits
this message if it's not found.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux