commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Hurd branch, master, updated. v0.7-101-g5eef605


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.7-101-g5eef605
Date: Mon, 21 Mar 2016 21:40:32 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  5eef605eb523e4148ccd22578327492178cfd0c4 (commit)
      from  0da2914ac9d9321cca2d402b2c505881e436c725 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5eef605eb523e4148ccd22578327492178cfd0c4
Author: Flavio Cruz <address@hidden>
Date:   Tue Mar 15 04:50:02 2016 -0400

    netfs: Remove global reference count lock.
    
    * libnetfs/drop-node.c: Remove use of netfs_node_refcnt_lock.
    * libnetfs/init-init.c: Remove netfs_node_refcnt_lock.
    * libnetfs/make-node.c: Initialize refcounts in refcounts_init.
    * libnetfs/netfs.h: Use refcounts_t for tracking node references. Remove
    netfs_node_refcnt_lock. Add netfs_nref_light, netfs_nrele_light and
    handler netfs_try_dropping_softrefs. Adjust comments.
    * libnetfs/nput.c: Use refcounts_t. Call netfs_try_dropping_softrefs to
    remove any soft reference that the translator might have acquired
    during the lifetime of the node. Implement empty
    netfs_try_dropping_softrefs.
    * libnetfs/nref.c: Implement netfs_nref_light.
    * libnetfs/nrele.c: Use refcounts_t and netfs_try_dropping_softrefs.
    Implement netfs_nrele_light.
    * ftpfs/dir.c: Use netfs_nref without locking the old
    netfs_node_refcnt_lock.
    * ftpfs/node.c: Likewise.
    * usermux/mux.c: Use netfs_nref to increase hard references of the node.
    * hostmux/mux.c: Use netfs_nref to increase hard references of the node.
    * trans/fakeroot.c (new_node): Use a light reference when storing a node in 
the
    hash table.
    * trans/fakeroot.c (netfs_try_dropping_softrefs): Implement
    netfs_try_dropping_softrefs to remove the node from the hash table.
    * trans/fakeroot.c (netfs_node_norefs): Remove code to remove the node
    from the hash table.
    * trans/fakeroot.c (netfs_S_dir_lookup): Simplify lookup code since we
    don't need to lock netfs_node_refcnt_lock anymore.
    * procfs/netfs.c: Remove use of netfs_node_refcnt_lock.
    * nfs/cache.c: Add mutex to handle exclusive access to nodehash. This
    replaces the use of netfs_node_refcnt_lock.
    * nfs/cache.c (lookup_handle): Use nodehash_ihash_lock when accessing
    nodehash. Use netfs_nref_light to add one soft reference to the node
    just added to nodehash.
    * nfs/cache.c (netfs_node_norefs): Use netfs_nref. Don't use
    netfs_node_refcnt_lock and don't remove the node from nodehash here.
    * nfs/cache.c (netfs_try_dropping_softrefs): Drop the light reference
    when the node has no more hard references.
    * nfs/cache.c (recache_handle): Use nodehash_ihash_lock instead.
    * nfs/ops.c (netds_attempt_unlink): Use refcounts_references.
    * console/console.c (netfs_node_norefs): Use a soft reference to store
    a node in dir_node, cons_node, disp_node, inp_node.
    * console/console.c (netfs_try_dropping_softrefs): When dropping all
    soft references remove node pointer from the fields above.

-----------------------------------------------------------------------

Summary of changes:
 console/console.c    |   64 +++++++++++++++++++++++++++++---------------------
 ftpfs/dir.c          |   27 ++++----------------
 ftpfs/node.c         |    8 +-----
 hostmux/mux.c        |    6 +---
 libnetfs/drop-node.c |    1 -
 libnetfs/init-init.c |    2 -
 libnetfs/make-node.c |    2 +-
 libnetfs/netfs.h     |   42 +++++++++++++++++++++-----------
 libnetfs/nput.c      |   27 ++++++++++++++-------
 libnetfs/nref.c      |   10 +++++--
 libnetfs/nrele.c     |   37 +++++++++++++++++++++++-----
 nfs/cache.c          |   40 ++++++++++++++++++-------------
 nfs/ops.c            |    5 +++-
 procfs/netfs.c       |    4 ---
 trans/fakeroot.c     |   45 +++++++++++++++++++++--------------
 usermux/mux.c        |    6 +---
 16 files changed, 185 insertions(+), 141 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]