commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.5-123-g9a7776d


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-123-g9a7776d
Date: Mon, 13 Jan 2014 09:07:01 +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  9a7776ddef6626536f21c09090b8329168a053ce (commit)
       via  9c2d39405c30b75bc817a6212a116421ebb927f1 (commit)
       via  4de65c4af42894f57b8b8c3a050260725a96b109 (commit)
       via  0033d20449b3bb558f2ea470983018db39b572aa (commit)
       via  3b016a709dd4be5a978dbc8f04b49289612b5be9 (commit)
       via  c31404533f2fb70efd40d7b56d8165e2ab8bd160 (commit)
       via  dda3d358224c334c8fa4902b3e20c75caf8bddbc (commit)
       via  8070f62fb5240ee5b924d0dae501a50f4662ffe9 (commit)
      from  19689c97a05e0a10691b671c4c37ca0bf51bdd2b (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 9a7776ddef6626536f21c09090b8329168a053ce
Author: Justus Winter <address@hidden>
Date:   Thu Oct 17 11:20:30 2013 +0200

    libnetfs: register passive translator startups
    
    Detect passive translator startup and add the resulting active
    translator to the list of active translators.
    
    * libnetfs/dir-lookup.c (netfs_S_dir_lookup): Detect and register
      passive translator startup.

commit 9c2d39405c30b75bc817a6212a116421ebb927f1
Author: Justus Winter <address@hidden>
Date:   Tue Oct 8 12:42:52 2013 +0200

    libdiskfs: register passive translator startups
    
    Detect passive translator startup and add the resulting active
    translator to the list of active translators.
    
    Note that newpi is properly deallocated in the function epilogue.
    
    * libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Detect and register
      passive translator startup.

commit 4de65c4af42894f57b8b8c3a050260725a96b109
Author: Justus Winter <address@hidden>
Date:   Wed Nov 6 11:22:50 2013 +0100

    libfshelp: fix the api of fshelp_set_active_translator
    
    To detect if an active translator goes away, we need to register for
    dead name notifications. Those notifications have to be sent to a port
    known to the ports library, as the ports library handles the dead name
    notifications. The most straight forward way is to use the port to the
    underlying node for that. To that end, a reference to the port_info
    struct is handed in and kept in the list of active translators.
    
    This commit also moves the registration of dead name notifications to
    libfshelp.
    
    * libfshelp/fshelp.h (fshelp_set_active_translator): Add port_info argument.
    * libfshelp/translator-list.c (struct translator): Add port_info pointer.
    (translator_ihash_cleanup): Dereference port_info object.
    (fshelp_set_active_translator): Register dead name notifications.
    * libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Update
      accordingly.
    * libnetfs/file-set-translator.c (netfs_S_file_set_translator): Likewise.

commit 0033d20449b3bb558f2ea470983018db39b572aa
Author: Justus Winter <address@hidden>
Date:   Sun Jan 12 15:05:53 2014 +0100

    trans/mtab: do not include non-filesystem translators by default
    
    Traditionally, /proc/mounts includes only filesystem mount points.
    Previously though, the mtab translator included any kind of
    translator, like all /hurd/storeio translators.  This causes problems
    with umount --all as this would remove the passive translator records
    from nodes in /dev.
    
    Fix this by only listing filesystem-like translators by default.
    Filesystem-like translators are identified by their response to
    dir_readdir messages sent to their root node.
    
    * trans/mtab.c (all_translators): New variable.
    (options): Add flag to preserve the old behavior.
    (parse_opt): Handle the new flag.
    (is_filesystem_translator): New function.
    (mtab_populate): Skip non-filesystem translators by default.

commit 3b016a709dd4be5a978dbc8f04b49289612b5be9
Author: Justus Winter <address@hidden>
Date:   Thu Nov 14 15:04:57 2013 +0100

    trans/mtab: make the translator multithreaded
    
    * trans/mtab.c (main): Use ports_manage_port_operations_multithread.

commit c31404533f2fb70efd40d7b56d8165e2ab8bd160
Author: Justus Winter <address@hidden>
Date:   Sun Jan 12 15:47:17 2014 +0100

    trans/mtab: properly lock mtab objects
    
    * trans/mtab.c (struct mtab): Add lock.
    (open_hook): Initialize lock.
    (close_hook): Destroy lock.
    (trivfs_S_io_read): Lock mtab object, adjust error handling accordingly.
    (trivfs_S_io_seek): Likewise.
    (trivfs_S_io_readable): Likewise.

commit dda3d358224c334c8fa4902b3e20c75caf8bddbc
Author: Justus Winter <address@hidden>
Date:   Thu Nov 14 15:47:00 2013 +0100

    trans/mtab: remove the loop detection logic
    
    Previously the mtab detector tried to detect whether it talks to
    itself by comparing the control port of the translator it currently
    visits with its own. This was done to prevent deadlocks. However, this
    did not detect non-trivial loops, i.e. two mtab translators would
    still dead-lock each other.
    
    Now that it is safe to actually file_name_lookup the root node of a
    mtab translator without triggering the generation of content, this
    logic can just be omitted.
    
    * trans/mtab.c (mtab_populate): Remove the loop detection logic.

commit 8070f62fb5240ee5b924d0dae501a50f4662ffe9
Author: Justus Winter <address@hidden>
Date:   Thu Nov 14 15:36:36 2013 +0100

    trans/mtab: populate mtab objects on demand
    
    Previously the mtab content was generated in the open hook. Delay this
    until the data is needed. A follow up patch will take advantage of
    this to both simplify the logic in mtab_populate and make it more
    robust at the same time.
    
    * trans/mtab.c (open_hook): Do not eagerly populate the mtab.
    (trivfs_S_io_read): Populate the mtab struct on demand.
    (trivfs_S_io_seek): Likewise.
    (trivfs_S_io_readable): Likewise.

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

Summary of changes:
 libdiskfs/dir-lookup.c         |   41 +++++++++-
 libdiskfs/file-set-trans.c     |   18 +----
 libfshelp/fshelp.h             |   18 +++--
 libfshelp/translator-list.c    |   43 ++++++++--
 libnetfs/dir-lookup.c          |   43 +++++++++-
 libnetfs/file-set-translator.c |   19 +----
 trans/mtab.c                   |  176 ++++++++++++++++++++++++++++++----------
 7 files changed, 266 insertions(+), 92 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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