1. 18 Feb, 2007 2 commits
    • Eric Van Hensbergen's avatar
      9p: implement optional loose read cache · e03abc0c
      Eric Van Hensbergen authored
      While cacheing is generally frowned upon in the 9p world, it has its
      place -- particularly in situations where the remote file system is
      exclusive and/or read-only.  The vacfs views of venti content addressable
      store are a real-world instance of such a situation.  To facilitate higher
      performance for these workloads (and eventually use the fscache patches),
      we have enabled a "loose" cache mode which does not attempt to maintain
      any form of consistency on the page-cache or dcache.  This results in over
      two orders of magnitude performance improvement for cacheable block reads
      in the Bonnie benchmark.  The more aggressive use of the dcache also seems
      to improve metadata operational performance.
      Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
      e03abc0c
    • Eric W. Biederman's avatar
      9p: Use kthread_stop instead of sending a SIGKILL. · 2c0463a9
      Eric W. Biederman authored
      Since the kthread api does not bump the reference count on
      processes that tracked it is not safe allow user space to
      kill the threads, as I still retain a pointer to the task_struct.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Acked-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
      2c0463a9
  2. 16 Feb, 2007 38 commits