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
e83b40a4
Commit
e83b40a4
authored
Sep 02, 2002
by
Christoph Hellwig
Committed by
Dave Kleikamp
Sep 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFS: remove some cruft left over from the pre-mempool metapage code
parent
dd599472
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
fs/jfs/jfs_metapage.c
fs/jfs/jfs_metapage.c
+2
-12
No files found.
fs/jfs/jfs_metapage.c
View file @
e83b40a4
...
...
@@ -27,16 +27,13 @@
#include "jfs_txnmgr.h"
#include "jfs_debug.h"
extern
struct
task_struct
*
jfsCommitTask
;
static
spinlock_t
meta_lock
=
SPIN_LOCK_UNLOCKED
;
static
wait_queue_head_t
meta_wait
;
#ifdef CONFIG_JFS_STATISTICS
struct
{
uint
pagealloc
;
/* # of page allocations */
uint
pagefree
;
/* # of page frees */
uint
lockwait
;
/* # of sleeping lock_metapage() calls */
uint
allocwait
;
/* # of sleeping alloc_metapage() calls */
}
mpStat
;
#endif
...
...
@@ -134,11 +131,6 @@ static void mp_mempool_free(void *element, void *pool_data)
int
__init
metapage_init
(
void
)
{
/*
* Initialize wait queue
*/
init_waitqueue_head
(
&
meta_wait
);
/*
* Allocate the metapage structures
*/
...
...
@@ -624,12 +616,10 @@ int jfs_mpstat_read(char *buffer, char **start, off_t offset, int length,
"=======================
\n
"
"page allocations = %d
\n
"
"page frees = %d
\n
"
"lock waits = %d
\n
"
"allocation waits = %d
\n
"
,
"lock waits = %d
\n
"
,
mpStat
.
pagealloc
,
mpStat
.
pagefree
,
mpStat
.
lockwait
,
mpStat
.
allocwait
);
mpStat
.
lockwait
);
begin
=
offset
;
*
start
=
buffer
+
begin
;
...
...
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