21 Mar, 2006

1 commit

  • Currently lockd directly access the file_lock_list from fs/locks.c.
    It does so to mark locks granted or reclaimable. This is very
    suboptimal, because a) lockd needs to poke into locks.c internals, and
    b) it needs to iterate over all locks in the system for marking locks
    granted or reclaimable.

    This patch adds lists for granted and reclaimable locks to the nlm_host
    structure instead, and adds locks to those.

    nlmclnt_lock:
    now adds the lock to h_granted instead of setting the
    NFS_LCK_GRANTED, still O(1)

    nlmclnt_mark_reclaim:
    goes away completely, replaced by a list_splice_init.
    Complexity reduced from O(locks in the system) to O(1)

    reclaimer:
    iterates over h_reclaim now, complexity reduced from
    O(locks in the system) to O(locks per nlm_host)

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Trond Myklebust

    Christoph Hellwig
     

23 Jun, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds