Changeset 2659 for trunk/server/common


Ignore:
Timestamp:
Dec 22, 2014, 12:07:50 AM (8 years ago)
Author:
andersk
Message:
OpenAFS: upgrade to 1.6.11pre1, plus patch for d_alias change
Location:
trunk/server/common/patches
Files:
1 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/patches/openafs-afs_conn-overcounts.patch

    r2649 r2659  
    1 From 368fff3b2fef5b559ed6da016e1e9f0413b55552 Mon Sep 17 00:00:00 2001
     1From 54c0ee608f4afd2b178c9b60eabfc3564293d996 Mon Sep 17 00:00:00 2001
    22From: Andrew Deason <adeason@sinenomine.net>
    33Date: Sun, 14 Sep 2014 14:10:11 -0500
     
    3737
    3838Change-Id: I3a52f8ccef24f01d04c02db0a4b711405360e323
     39Reviewed-on: http://gerrit.openafs.org/11464
     40Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
     41Reviewed-by: Daria Brashear <shadow@your-file-system.com>
     42Tested-by: Benjamin Kaduk <kaduk@mit.edu>
     43Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    3944---
    4045 src/afs/afs_bypasscache.c | 1 +
     
    4348
    4449diff --git a/src/afs/afs_bypasscache.c b/src/afs/afs_bypasscache.c
    45 index 744feb2..8fc6009 100644
     50index f452638..4c6fb9a 100644
    4651--- a/src/afs/afs_bypasscache.c
    4752+++ b/src/afs/afs_bypasscache.c
    48 @@ -637,6 +637,7 @@ afs_PrefetchNoCache(struct vcache *avc,
     53@@ -621,6 +621,7 @@ afs_PrefetchNoCache(struct vcache *avc,
    4954            } else {
    5055                afs_warn("BYPASS: StartRXAFS_FetchData failed: %d\n", code);
     
    5560            if (code == 0) {
    5661diff --git a/src/afs/afs_dcache.c b/src/afs/afs_dcache.c
    57 index dc1e039..a156e22 100644
     62index 4a9edbd..338e8db 100644
    5863--- a/src/afs/afs_dcache.c
    5964+++ b/src/afs/afs_dcache.c
    60 @@ -2399,6 +2399,13 @@ afs_GetDCache(struct vcache *avc, afs_size_t abyte,
     65@@ -2398,6 +2398,13 @@ afs_GetDCache(struct vcache *avc, afs_size_t abyte,
    6166                        afs_PutDCache(tdc);
    6267                        tdc = 0;
     
    7378                    }
    7479--
    75 2.2.0
     802.2.1
    7681
  • trunk/server/common/patches/openafs-d_splice_alias-reference.patch

    r2655 r2659  
    1 From 1c576fdf9f05c6af7b5b029ba010a76bed48488e Mon Sep 17 00:00:00 2001
     1From b1f23baecb2de72b44cda8bba27615c012a445f1 Mon Sep 17 00:00:00 2001
    22From: Marc Dionne <marc.dionne@your-file-system.com>
    33Date: Thu, 18 Dec 2014 08:43:22 -0500
     
    1818Change-Id: Id1786ac2227b4d8e0ae801fe59c15a0ecd975bed
    1919---
    20  src/afs/LINUX/osi_vnodeops.c | 25 ++++++++++++++++++++++---
    21  1 file changed, 22 insertions(+), 3 deletions(-)
     20 acinclude.m4                 |  3 +++
     21 src/afs/LINUX/osi_vnodeops.c | 29 ++++++++++++++++++++++++++---
     22 2 files changed, 29 insertions(+), 3 deletions(-)
    2223
     24diff --git a/acinclude.m4 b/acinclude.m4
     25index 96adde0..19f7092 100644
     26--- a/acinclude.m4
     27+++ b/acinclude.m4
     28@@ -984,6 +984,9 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
     29                 AC_CHECK_LINUX_FUNC([hlist_unhashed],
     30                                     [#include <linux/list.h>],
     31                                     [hlist_unhashed(0);])
     32+                AC_CHECK_LINUX_FUNC([ihold],
     33+                                    [#include <linux/fs.h>],
     34+                                    [ihold(NULL);])
     35                 AC_CHECK_LINUX_FUNC([i_size_read],
     36                                     [#include <linux/fs.h>],
     37                                     [i_size_read(NULL);])
    2338diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
    24 index b2ab9d5..3723cf8 100644
     39index b2ab9d5..cedfef6 100644
    2540--- a/src/afs/LINUX/osi_vnodeops.c
    2641+++ b/src/afs/LINUX/osi_vnodeops.c
    27 @@ -1612,6 +1612,13 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp)
     42@@ -1612,6 +1612,17 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp)
    2843        ip->i_flags |= S_AUTOMOUNT;
    2944 #endif
     
    3449+     */
    3550+    if (ip)
     51+#ifdef HAVE_LINUX_IHOLD
     52+       ihold(ip);
     53+#else
    3654+       igrab(ip);
     55+#endif
    3756+
    3857     newdp = d_splice_alias(ip, dp);
    3958 
    4059  done:
    41 @@ -1625,14 +1632,26 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp)
     60@@ -1625,14 +1636,26 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp)
    4261         * d_splice_alias can return an error (EIO) if there is an existing
    4362         * connected directory alias for this dentry.
Note: See TracChangeset for help on using the changeset viewer.