Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-6998 mdt: do not lock stripe0 object
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
sec_gc.c
diff --git
a/lustre/ptlrpc/sec_gc.c
b/lustre/ptlrpc/sec_gc.c
index
3f28c38
..
a7f3b79
100644
(file)
--- a/
lustre/ptlrpc/sec_gc.c
+++ b/
lustre/ptlrpc/sec_gc.c
@@
-27,7
+27,7
@@
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012,
2014,
Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-40,6
+40,7
@@
#define DEBUG_SUBSYSTEM S_SEC
#define DEBUG_SUBSYSTEM S_SEC
+#include <linux/kthread.h>
#include <libcfs/libcfs.h>
#include <obd_support.h>
#include <libcfs/libcfs.h>
#include <obd_support.h>
@@
-47,6
+48,8
@@
#include <lustre_net.h>
#include <lustre_sec.h>
#include <lustre_net.h>
#include <lustre_sec.h>
+#include "ptlrpc_internal.h"
+
#define SEC_GC_INTERVAL (30 * 60)
#define SEC_GC_INTERVAL (30 * 60)
@@
-75,7
+78,6
@@
void sptlrpc_gc_add_sec(struct ptlrpc_sec *sec)
CDEBUG(D_SEC, "added sec %p(%s)\n", sec, sec->ps_policy->sp_name);
}
CDEBUG(D_SEC, "added sec %p(%s)\n", sec, sec->ps_policy->sp_name);
}
-EXPORT_SYMBOL(sptlrpc_gc_add_sec);
void sptlrpc_gc_del_sec(struct ptlrpc_sec *sec)
{
void sptlrpc_gc_del_sec(struct ptlrpc_sec *sec)
{
@@
-99,7
+101,6
@@
void sptlrpc_gc_del_sec(struct ptlrpc_sec *sec)
CDEBUG(D_SEC, "del sec %p(%s)\n", sec, sec->ps_policy->sp_name);
}
CDEBUG(D_SEC, "del sec %p(%s)\n", sec, sec->ps_policy->sp_name);
}
-EXPORT_SYMBOL(sptlrpc_gc_del_sec);
void sptlrpc_gc_add_ctx(struct ptlrpc_cli_ctx *ctx)
{
void sptlrpc_gc_add_ctx(struct ptlrpc_cli_ctx *ctx)
{
@@
-253,4
+254,3
@@
void sptlrpc_gc_fini(void)
l_wait_event(sec_gc_thread.t_ctl_waitq,
thread_is_stopped(&sec_gc_thread), &lwi);
}
l_wait_event(sec_gc_thread.t_ctl_waitq,
thread_is_stopped(&sec_gc_thread), &lwi);
}
-