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
Kirill Smelkov
linux
Commits
233dc581
Commit
233dc581
authored
May 22, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Switch all XFSDEBUG to DEBUG
SGI Modid: xfs-linux:xfs-kern:171990a
parent
1f2a36f1
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
17 deletions
+15
-17
fs/xfs/Makefile
fs/xfs/Makefile
+2
-2
fs/xfs/linux/xfs_stats.c
fs/xfs/linux/xfs_stats.c
+1
-1
fs/xfs/linux/xfs_super.h
fs/xfs/linux/xfs_super.h
+1
-1
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap.c
+4
-4
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_bmap_btree.c
+1
-1
fs/xfs/xfs_bmap_btree.h
fs/xfs/xfs_bmap_btree.h
+1
-1
fs/xfs/xfs_log.c
fs/xfs/xfs_log.c
+1
-3
fs/xfs/xfs_trans_ail.c
fs/xfs/xfs_trans_ail.c
+4
-4
No files found.
fs/xfs/Makefile
View file @
233dc581
#
# Copyright (c) 2000-200
3
Silicon Graphics, Inc. All Rights Reserved.
# Copyright (c) 2000-200
4
Silicon Graphics, Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as
...
...
@@ -33,7 +33,7 @@
EXTRA_CFLAGS
+=
-Ifs
/xfs
-Ifs
/xfs/linux
-funsigned-char
ifeq
($(CONFIG_XFS_DEBUG),y)
EXTRA_CFLAGS
+=
-g
-DSTATIC
=
""
-DDEBUG
-DXFSDEBUG
EXTRA_CFLAGS
+=
-g
-DSTATIC
=
""
-DDEBUG
EXTRA_CFLAGS
+=
-DPAGEBUF_LOCK_TRACKING
endif
ifeq
($(CONFIG_XFS_TRACE),y)
...
...
fs/xfs/linux/xfs_stats.c
View file @
233dc581
...
...
@@ -97,7 +97,7 @@ xfs_read_xfsstats(
len
+=
sprintf
(
buffer
+
len
,
"xpc %Lu %Lu %Lu
\n
"
,
xs_xstrat_bytes
,
xs_write_bytes
,
xs_read_bytes
);
len
+=
sprintf
(
buffer
+
len
,
"debug %u
\n
"
,
#if defined(
XFS
DEBUG)
#if defined(DEBUG)
1
);
#else
0
);
...
...
fs/xfs/linux/xfs_super.h
View file @
233dc581
...
...
@@ -92,7 +92,7 @@ extern void xfs_qm_exit(void);
# define XFS_TRACE_STRING
#endif
#ifdef
XFS
DEBUG
#ifdef DEBUG
# define XFS_DBG_STRING "debug"
#else
# define XFS_DBG_STRING "no debug"
...
...
fs/xfs/xfs_bmap.c
View file @
233dc581
...
...
@@ -69,7 +69,7 @@
#include "xfs_buf_item.h"
#ifdef
XFS
DEBUG
#ifdef DEBUG
STATIC
void
xfs_bmap_check_leaf_extents
(
xfs_btree_cur_t
*
cur
,
xfs_inode_t
*
ip
,
int
whichfork
);
#endif
...
...
@@ -195,7 +195,7 @@ xfs_bmap_btree_to_extents(
int
*
logflagsp
,
/* inode logging flags */
int
whichfork
);
/* data or attr fork */
#ifdef
XFS
DEBUG
#ifdef DEBUG
/*
* Check that the extents list for the inode ip is in the right order.
*/
...
...
@@ -695,7 +695,7 @@ xfs_bmap_add_extent(
*
curp
=
cur
;
}
done:
#ifdef
XFS
DEBUG
#ifdef DEBUG
if
(
!
error
)
xfs_bmap_check_leaf_extents
(
*
curp
,
ip
,
whichfork
);
#endif
...
...
@@ -5790,7 +5790,7 @@ xfs_bmap_eof(
return
0
;
}
#ifdef
XFS
DEBUG
#ifdef DEBUG
/*
* Check that the extents list for the inode ip is in the right order.
*/
...
...
fs/xfs/xfs_bmap_btree.c
View file @
233dc581
...
...
@@ -700,7 +700,7 @@ xfs_bmbt_delrec(
return
error
;
}
#ifdef
XFS
DEBUG
#ifdef DEBUG
/*
* Get the data from the pointed-to record.
*/
...
...
fs/xfs/xfs_bmap_btree.h
View file @
233dc581
...
...
@@ -673,7 +673,7 @@ xfs_bmbt_update(
xfs_filblks_t
,
xfs_exntst_t
);
#ifdef
XFS
DEBUG
#ifdef DEBUG
/*
* Get the data from the pointed-to record.
*/
...
...
fs/xfs/xfs_log.c
View file @
233dc581
...
...
@@ -122,9 +122,7 @@ STATIC void xlog_ticket_put(xlog_t *log, xlog_ticket_t *ticket);
/* local debug functions */
#if defined(DEBUG) && !defined(XLOG_NOLOG)
STATIC
void
xlog_verify_dest_ptr
(
xlog_t
*
log
,
__psint_t
ptr
);
#ifdef XFSDEBUG
STATIC
void
xlog_verify_disk_cycle_no
(
xlog_t
*
log
,
xlog_in_core_t
*
iclog
);
#endif
STATIC
void
xlog_verify_grant_head
(
xlog_t
*
log
,
int
equals
);
STATIC
void
xlog_verify_iclog
(
xlog_t
*
log
,
xlog_in_core_t
*
iclog
,
int
count
,
boolean_t
syncing
);
...
...
@@ -3253,7 +3251,7 @@ xlog_verify_dest_ptr(xlog_t *log,
}
/* xlog_verify_dest_ptr */
#ifdef
XFS
DEBUG
#ifdef DEBUG
/* check split LR write */
STATIC
void
xlog_verify_disk_cycle_no
(
xlog_t
*
log
,
...
...
fs/xfs/xfs_trans_ail.c
View file @
233dc581
...
...
@@ -48,11 +48,11 @@ STATIC xfs_log_item_t * xfs_ail_delete(xfs_ail_entry_t *, xfs_log_item_t *);
STATIC
xfs_log_item_t
*
xfs_ail_min
(
xfs_ail_entry_t
*
);
STATIC
xfs_log_item_t
*
xfs_ail_next
(
xfs_ail_entry_t
*
,
xfs_log_item_t
*
);
#ifdef
XFS
DEBUG
#ifdef DEBUG
STATIC
void
xfs_ail_check
(
xfs_ail_entry_t
*
);
#else
#define xfs_ail_check(a)
#endif
/*
XFS
DEBUG */
#endif
/* DEBUG */
/*
...
...
@@ -553,7 +553,7 @@ xfs_ail_next(
}
#ifdef
XFS
DEBUG
#ifdef DEBUG
/*
* Check that the list is sorted as it should be.
*/
...
...
@@ -593,4 +593,4 @@ xfs_ail_check(
ASSERT
(
lip
==
(
xfs_log_item_t
*
)
base
);
ASSERT
(
base
->
ail_back
==
prev_lip
);
}
#endif
/*
XFS
DEBUG */
#endif
/* DEBUG */
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