Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9a5c2c0c
Commit
9a5c2c0c
authored
Jan 31, 2004
by
Christoph Hellwig
Committed by
Christoph Hellwig
Jan 31, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Small ktrace fixes
SGI Modid: xfs-linux:xfs-kern:164115a
parent
eb8171b8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
7 deletions
+27
-7
fs/xfs/linux/xfs_buf.c
fs/xfs/linux/xfs_buf.c
+4
-0
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr.c
+1
-2
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_bmap_btree.c
+1
-1
fs/xfs/xfs_dir.c
fs/xfs/xfs_dir.c
+1
-1
fs/xfs/xfs_dir2_trace.c
fs/xfs/xfs_dir2_trace.c
+1
-3
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+19
-0
No files found.
fs/xfs/linux/xfs_buf.c
View file @
9a5c2c0c
...
...
@@ -2091,6 +2091,10 @@ pagebuf_terminate(void)
{
pagebuf_daemon_stop
();
#ifdef PAGEBUF_TRACE
ktrace_free
(
pagebuf_trace_buf
);
#endif
kmem_cache_destroy
(
pagebuf_cache
);
unregister_sysctl_table
(
pagebuf_table_header
);
...
...
fs/xfs/xfs_attr.c
View file @
9a5c2c0c
...
...
@@ -106,12 +106,11 @@ STATIC int xfs_attr_rmtval_remove(xfs_da_args_t *args);
#define ATTR_RMTVALUE_MAPSIZE 1
/* # of map entries at once */
#define ATTR_RMTVALUE_TRANSBLKS 8
/* max # of blks in a transaction */
#if defined(
DEBUG
)
#if defined(
XFS_ATTR_TRACE
)
ktrace_t
*
xfs_attr_trace_buf
;
#endif
/*========================================================================
* Overall external interface routines.
*========================================================================*/
...
...
fs/xfs/xfs_bmap_btree.c
View file @
9a5c2c0c
...
...
@@ -61,7 +61,7 @@
#include "xfs_error.h"
#include "xfs_quota.h"
#if
def DEBUG
#if
defined(XFS_BMBT_TRACE)
ktrace_t
*
xfs_bmbt_trace_buf
;
#endif
...
...
fs/xfs/xfs_dir.c
View file @
9a5c2c0c
...
...
@@ -162,7 +162,7 @@ STATIC int xfs_dir_node_getdents(xfs_trans_t *trans, xfs_inode_t *dp,
xfs_dir_put_t
put
);
STATIC
int
xfs_dir_node_replace
(
xfs_da_args_t
*
args
);
#if defined(
DEBUG
)
#if defined(
XFS_DIR_TRACE
)
ktrace_t
*
xfs_dir_trace_buf
;
#endif
...
...
fs/xfs/xfs_dir2_trace.c
View file @
9a5c2c0c
...
...
@@ -49,11 +49,9 @@
#include "xfs_da_btree.h"
#include "xfs_dir2_trace.h"
#ifdef
DEBUG
#ifdef
XFS_DIR2_TRACE
ktrace_t
*
xfs_dir2_trace_buf
;
#endif
/* DEBUG */
#ifdef XFS_DIR2_TRACE
/*
* Enter something in the trace buffers.
*/
...
...
fs/xfs/xfs_vfsops.c
View file @
9a5c2c0c
...
...
@@ -171,6 +171,25 @@ xfs_cleanup(void)
xfs_sysctl_unregister
();
xfs_refcache_destroy
();
#ifdef XFS_DIR2_TRACE
ktrace_free
(
xfs_dir2_trace_buf
);
#endif
#ifdef XFS_ATTR_TRACE
ktrace_free
(
xfs_attr_trace_buf
);
#endif
#ifdef XFS_DIR_TRACE
ktrace_free
(
xfs_dir_trace_buf
);
#endif
#ifdef XFS_BMBT_TRACE
ktrace_free
(
xfs_bmbt_trace_buf
);
#endif
#ifdef XFS_BMAP_TRACE
ktrace_free
(
xfs_bmap_trace_buf
);
#endif
#ifdef XFS_ALLOC_TRACE
ktrace_free
(
xfs_alloc_trace_buf
);
#endif
kmem_cache_destroy
(
xfs_bmap_free_item_zone
);
kmem_cache_destroy
(
xfs_btree_cur_zone
);
kmem_cache_destroy
(
xfs_inode_zone
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment