Re: [PATCH] int (*readpage)(struct file *, struct page *);

From: Alexander Viro (aviro@redhat.com)
Date: Fri May 12 2000 - 06:13:12 EDT

  • Next message: Jan-Benedict Glaw: "[PATCH] Missing symbols for framebuffer"

    On Fri, 12 May 2000, Roman V. Shaposhnick wrote:

    > Of course it would be valuable to have someone doing all general work.
    > And of course there are some places that need generalization ( directory
    > caching comes to mind), but my point was to show that if all in-kernel
    > filesystems could coexist happily with recent infrastructure changes
    > than most likely all problems are in particular fs code not in infrastructure
    > itself.

            Darn. Read through the symlink code, OK? Real rule is
    "if you are a method of regular file's address_space you can expect correct
    struct file *". Otherwise - nope.
            Said that, if NWFS is using something that resembles normal RPC then
    NFS-like scheme may be a decent way to go. "read to kernel space from fake
    file" is almost never the right thing to do - look at the UMSDOS code for
    some examples, just make sure to do that before eating. Remember that
    anecdote about dying punk and Maskowyj Laj?

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri May 12 2000 - 06:21:55 EDT