summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-29 18:39:40 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-09-29 18:39:40 +0200
commitb102a4dc1d26034eedee18380c7a23bef5b0f6db (patch)
tree8f71174e8b4c9e45c2aeaa4209e2a6f536e104aa /debian
parenta5e756a4dda5766fa37299f08042005abfe3940e (diff)
drop patch
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0001-libdiskfs-remove-code-counting-cache-misses.patch64
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 65 deletions
diff --git a/debian/patches/0001-libdiskfs-remove-code-counting-cache-misses.patch b/debian/patches/0001-libdiskfs-remove-code-counting-cache-misses.patch
deleted file mode 100644
index 5ee69bc9..00000000
--- a/debian/patches/0001-libdiskfs-remove-code-counting-cache-misses.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From e7ceaa23ed1fd7b5d6d8272081586b7455195426 Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Sun, 7 Sep 2014 14:01:38 +0200
-Subject: [PATCH] libdiskfs: remove code counting cache misses
-
-* libdiskfs/lookup.c (cache_misses): Remove.
-(cm_lock): Likewise.
-(diskfs_lookup): Do not count cache misses.
----
- libdiskfs/lookup.c | 31 -------------------------------
- 1 file changed, 31 deletions(-)
-
-diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c
-index bc2ad01..486fedc 100644
---- a/libdiskfs/lookup.c
-+++ b/libdiskfs/lookup.c
-@@ -21,17 +21,6 @@
- #include "priv.h"
- #include <string.h>
-
--static struct
--{
-- int present;
-- int absent;
-- int errors;
-- int dot;
-- int dotdot;
--} cache_misses;
--static pthread_spinlock_t cm_lock = PTHREAD_SPINLOCK_INITIALIZER;
--
--
- /* Lookup in directory DP (which is locked) the name NAME. TYPE will
- either be LOOKUP, CREATE, RENAME, or REMOVE. CRED identifies the
- user making the call.
-@@ -175,26 +164,6 @@ diskfs_lookup (struct node *dp, const char *name, enum lookup_type type,
- else
- {
- err = diskfs_lookup_hard (dp, name, type, np, ds, cred);
--
-- pthread_spin_lock (&cm_lock);
-- if (type == LOOKUP)
-- {
-- if (err == ENOENT)
-- cache_misses.absent++;
-- else if (err)
-- cache_misses.errors++;
-- else
-- cache_misses.present++;
-- if (name[0] == '.')
-- {
-- if (name[1] == '\0')
-- cache_misses.dot++;
-- else if (name[1] == '.' && name[2] == '\0')
-- cache_misses.dotdot++;
-- }
-- }
-- pthread_spin_unlock (&cm_lock);
--
- if (err && err != ENOENT)
- return err;
-
---
-2.1.0
-
diff --git a/debian/patches/series b/debian/patches/series
index c35fde72..57fa991e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -57,7 +57,6 @@ xkb-compat.patch
mach-defpager-protected-payload.patch
#0002-libports-lock-less-reference-counting-for-port_info-.patch
-0001-libdiskfs-remove-code-counting-cache-misses.patch
trans-crash-add-verbose.patch
procfs-0007-procfs-provide-magic-retry-response-for-proc-self.patch