1. 15 Jul, 2002 33 commits
  2. 14 Jul, 2002 1 commit
  3. 15 Jul, 2002 1 commit
  4. 14 Jul, 2002 1 commit
  5. 15 Jul, 2002 1 commit
  6. 14 Jul, 2002 3 commits
    • Trond Myklebust's avatar
      [PATCH] 2.5.25 Clean up RPC receive code [part 2] · 4b1191c8
      Trond Myklebust authored
        After getting rid of rpc_lock_task() from net/sunrpc/xprt.c (see the
      previous patch), we can now remove it from the generic RPC queue
      handling code.
      4b1191c8
    • Trond Myklebust's avatar
      [PATCH] 2.5.25 Clean up RPC receive code · 1eedbd78
      Trond Myklebust authored
        Divorces task xid<->request slot mapping from the internals of the
      rpc_waitqueue xprt->pending. Instead xprt_lookup_rqst() is made to
      search a dedicated list (xprt->recv) on which the request slot is
      placed immediately after being allocated to a task. The new queue is
      protected using the spinlock xprt->sock_lock rather than the generic
      RPC task lock.
      
        Both udp_data_ready() and tcp_data_ready() (well tcp_read_request()
      actually) now need to protect against the request being removed from
      the xprt->recv list while they copy the RPC reply data from the skb.
      On the other hand, they no longer need to worry about the task
      disappearing from xprt->pending. This means that rpc_lock_task() hack
      can be replaced by the spinlock xprt->sock_lock.
      1eedbd78
    • Trond Myklebust's avatar
      [PATCH] Fix NFS attribute caching bug · 45bde054
      Trond Myklebust authored
        Fixes an obvious bug in __nfs_refresh_inode(): after updating the
      attribute cache, if we discover that the data cache is invalid don't
      call nfs_zap_caches() as that will also reinvalidate the attribute
      cache.
        This bug plays havoc with the new lookup/revalidation code in 2.4.19
      since it forces a lot of unnecessary extra GETATTR RPC calls.
      45bde054