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-245-g8612278


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-245-g8612278
Date: Mon, 05 May 2014 15:30:26 +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  8612278973d167a20f4d60d018f18c6975b37cca (commit)
      from  151133a33c18e9ba103cea77a269b56c6f5cf23a (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 8612278973d167a20f4d60d018f18c6975b37cca
Author: Justus Winter <address@hidden>
Date:   Sat Apr 26 19:48:18 2014 +0200

    ext2fs: use two distinct pager buckets for the disk and file pager
    
    ext2fs has two kinds of pagers.  One for the files, one for the disk.
    Previously, both were in the same port bucket.
    
    If a request for a file pager arrives, it most likely touches some
    metadata (like the superblock).  This is in turn backed by the disk
    pager, so another request is generated for the disk pager.
    
    Seperate all pagers clearly by using two port buckets.  This will
    enable us to use a single thread per port bucket in the future.
    
    * ext2fs/pager.c (pager_bucket): Rename to...
    (disk_pager_bucket): ... this to make the change explicit at every
    occurrence.
    (file_pager_bucket): New variable.
    (service_paging_requests): New function.
    (create_disk_pager): Also create the file pager.
    (diskfs_get_filemap): Handout pagers from the file_pager_bucket.
    (diskfs_shutdown_pager): This is only concerned with the file pager.
    Simplify code accordingly.
    (diskfs_sync_everything): Likewise.
    (diskfs_pager_users): Likewise.
    (diskfs_max_user_pager_prot): Likewise.
    (disable_caching): Iterate over both buckets.
    (enable_caching): Likewise.

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

Summary of changes:
 ext2fs/pager.c |   87 ++++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 62 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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