06 Jan, 2012

1 commit

  • Reduce object size by deduplicating formats.

    Use vsprintf extension %pV.
    Rename P9_DPRINTK uses to p9_debug, align arguments.
    Add function for _p9_debug and macro to add __func__.
    Add missing "\n"s to p9_debug uses.
    Remove embedded function names as p9_debug adds it.
    Remove P9_EPRINTK macro and convert use to pr_.
    Add and use pr_fmt and pr_.

    $ size fs/9p/built-in.o*
    text data bss dec hex filename
    62133 984 16000 79117 1350d fs/9p/built-in.o.new
    67342 984 16928 85254 14d06 fs/9p/built-in.o.old
    $ size net/9p/built-in.o*
    text data bss dec hex filename
    88792 4148 22024 114964 1c114 net/9p/built-in.o.new
    94072 4148 23232 121452 1da6c net/9p/built-in.o.old

    Signed-off-by: Joe Perches
    Signed-off-by: Eric Van Hensbergen

    Joe Perches
     

23 Jul, 2011

1 commit


25 May, 2011

1 commit

  • As on Jeopardy, my question is in the form of a patch: Does this have
    some special meaning, or is it an accident? (I looked at other
    filesystems but they didn't bother having doc entries for their
    init/exit function that I could find.)

    Signed-off-by: Rob Landley
    Signed-off-by: Eric Van Hensbergen

    Rob Landley
     

18 Oct, 2008

1 commit

  • Right now there is a transport module structure which provides per-transport
    type functions and data and a transport structure which contains per-instance
    public data as well as function pointers to instance specific functions.

    This patch moves public transport visible instance data to the client
    structure (which in some cases had duplicate data) and consolidates the
    functions into the transport module structure.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     

25 Sep, 2008

1 commit

  • 9p trans modules aren't refcounted nor were they unregistered
    properly. Fix it.

    * Add 9p_trans_module->owner and reference the module on each trans
    instance creation and put it on destruction.

    * Protect v9fs_trans_list with a spinlock. This isn't strictly
    necessary as the list is manipulated only during module loading /
    unloading but it's a good idea to make the API safe.

    * Unregister trans modules when the corresponding module is being
    unloaded.

    * While at it, kill unnecessary EXPORT_SYMBOL on p9_trans_fd_init().

    Signed-off-by: Tejun Heo
    Signed-off-by: Eric Van Hensbergen

    Tejun Heo
     

15 May, 2008

2 commits

  • There was some cleanup issues during early mount which would trigger
    a kernel bug for certain types of failure. This patch reorganizes the
    cleanup to get rid of the bad behavior.

    This also merges the 9pnet and 9pnet_fd modules for the purpose of
    configuration and initialization. Keeping the fd transport separate
    from the core 9pnet code seemed like a good idea at the time, but in
    practice has caused more harm and confusion than good.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     
  • The kernel-doc comments of much of the 9p system have been in disarray since
    reorganization. This patch fixes those problems, adds additional documentation
    and a template book which collects the 9p information.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     

07 Feb, 2008

1 commit

  • This merges the mux.c (including the connection interface) with trans_fd
    in preparation for transport API changes. Ultimately, trans_fd will need
    to be rewritten to clean it up and simplify the implementation, but this
    reorganization is viewed as the first step.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     

06 Nov, 2007

1 commit

  • v9fs_match_trans function returns arbitrary transport module instead of NULL
    when the requested transport is not registered. This patch modifies the
    function to return NULL in that case.

    Signed-off-by: Latchesar Ionkov
    Acked-by: Eric Van Hensbergen

    Latchesar Ionkov
     

18 Oct, 2007

2 commits

  • A sysctl method was added to enable and disable debugging levels. After
    further review, it was decided that there are better approaches to doing this
    and the sysctl methodology isn't really desirable. This patch removes the
    sysctl code from 9p.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     
  • This patch moves transport dynamic registration and matching to the net
    module to prevent a bad Kconfig dependency between the net and fs 9p modules.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     

15 Jul, 2007

1 commit

  • This patchset moves non-filesystem interfaces of v9fs from fs/9p to net/9p.
    It moves the transport, packet marshalling and connection layers to net/9p
    leaving only the VFS related files in fs/9p. This work is being done in
    preparation for in-kernel 9p servers as well as alternate 9p clients (other
    than VFS).

    Signed-off-by: Latchesar Ionkov
    Signed-off-by: Eric Van Hensbergen

    Latchesar Ionkov