[lkml]   [2002]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[RFC] generic_file_direct_IO() argument changes for AIO

    Inorder to support AIO for raw/O_DIRECT, I need to add "struct kiocb *"
    to generic_file_direct_IO() and all direct_IO() ops.

    generic_file_direct_IO(int rw, struct file *file, const struct iovec *iov,
    loff_t offset, unsigned long nr_segs)

    Instead of adding a new argument, I propose replace

    "struct file *file" argument with "struct kiocb *iocb"

    One can get "filp" from iocb->ki_filp.

    Any objections ?

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

     \ /
      Last update: 2005-03-22 13:30    [W:0.019 / U:7.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site