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
52f83275
Commit
52f83275
authored
Jan 10, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Fix async pagebuf I/O tracing at the bottom of pagebuf_get.
SGI Modid: 2.5.x-xfs:slinx:163118a
parent
903facfa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
fs/xfs/pagebuf/page_buf.c
fs/xfs/pagebuf/page_buf.c
+4
-2
No files found.
fs/xfs/pagebuf/page_buf.c
View file @
52f83275
...
...
@@ -798,6 +798,7 @@ pagebuf_get( /* allocate a buffer */
PB_STATS_INC
(
pb_get_read
);
pagebuf_iostart
(
pb
,
flags
);
}
else
if
(
flags
&
PBF_ASYNC
)
{
PB_TRACE
(
pb
,
"get_read_async"
,
(
unsigned
long
)
flags
);
/*
* Read ahead call which is already satisfied,
* drop the buffer
...
...
@@ -807,12 +808,13 @@ pagebuf_get( /* allocate a buffer */
pagebuf_rele
(
pb
);
return
NULL
;
}
else
{
PB_TRACE
(
pb
,
"get_read_done"
,
(
unsigned
long
)
flags
);
/* We do not want read in the flags */
pb
->
pb_flags
&=
~
PBF_READ
;
}
}
else
{
PB_TRACE
(
pb
,
"get_write"
,
(
unsigned
long
)
flags
);
}
PB_TRACE
(
pb
,
"get_done"
,
(
unsigned
long
)
flags
);
return
(
pb
);
}
...
...
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