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
cd6bc28a
Commit
cd6bc28a
authored
Jan 09, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Enable pagebuf lock tracking with debug config option.
SGI Modid: 2.5.x-xfs:slinx:161903a
parent
0fb91f05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
fs/xfs/Makefile
fs/xfs/Makefile
+1
-0
fs/xfs/pagebuf/page_buf.h
fs/xfs/pagebuf/page_buf.h
+0
-7
No files found.
fs/xfs/Makefile
View file @
cd6bc28a
...
...
@@ -34,6 +34,7 @@ EXTRA_CFLAGS += -Ifs/xfs -funsigned-char
ifeq
($(CONFIG_XFS_DEBUG),y)
EXTRA_CFLAGS
+=
-g
-DSTATIC
=
""
-DDEBUG
-DXFSDEBUG
EXTRA_CFLAGS
+=
-DPAGEBUF_LOCK_TRACKING
endif
ifeq
($(CONFIG_XFS_TRACE),y)
EXTRA_CFLAGS
+=
-DXFS_ALLOC_TRACE
...
...
fs/xfs/pagebuf/page_buf.h
View file @
cd6bc28a
...
...
@@ -47,11 +47,6 @@
#include <linux/buffer_head.h>
#include <linux/uio.h>
/*
* Turn this on to get pagebuf lock ownership
#define PAGEBUF_LOCK_TRACKING
*/
/*
* Base types
*/
...
...
@@ -61,8 +56,6 @@ typedef loff_t page_buf_daddr_t;
#define PAGE_BUF_DADDR_NULL ((page_buf_daddr_t) (-1LL))
typedef
size_t
page_buf_dsize_t
;
/* size of buffer in blocks */
#define page_buf_ctob(pp) ((pp) * PAGE_CACHE_SIZE)
#define page_buf_btoc(dd) (((dd) + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT)
#define page_buf_btoct(dd) ((dd) >> PAGE_CACHE_SHIFT)
...
...
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