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
690869a3
Commit
690869a3
authored
Dec 04, 2002
by
Christoph Hellwig
Committed by
Nathan Scott
Dec 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] rename pagebuf_run_task_queue to pagebuf_run_queues
SGI Modid: 2.5.x-xfs:slinx:134187a
parent
0a358d0e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
fs/xfs/pagebuf/page_buf.c
fs/xfs/pagebuf/page_buf.c
+4
-5
fs/xfs/pagebuf/page_buf.h
fs/xfs/pagebuf/page_buf.h
+3
-5
fs/xfs/pagebuf/page_buf_locking.c
fs/xfs/pagebuf/page_buf_locking.c
+1
-1
fs/xfs/xfs_buf.h
fs/xfs/xfs_buf.h
+2
-2
No files found.
fs/xfs/pagebuf/page_buf.c
View file @
690869a3
...
...
@@ -575,7 +575,6 @@ _pagebuf_lookup_pages(
return
rval
;
}
/*
* Finding and Reading Buffers
*/
...
...
@@ -1121,7 +1120,7 @@ _pagebuf_wait_unpin(
if
(
atomic_read
(
&
PBP
(
pb
)
->
pb_pin_count
)
==
0
)
{
break
;
}
pagebuf_run_
task_queue
(
pb
);
pagebuf_run_
queues
(
pb
);
schedule
();
}
remove_wait_queue
(
&
PBP
(
pb
)
->
pb_waiters
,
&
wait
);
...
...
@@ -1465,7 +1464,7 @@ pagebuf_iowait(
page_buf_t
*
pb
)
{
PB_TRACE
(
pb
,
PB_TRACE_REC
(
iowait
),
0
);
pagebuf_run_
task_queue
(
pb
);
pagebuf_run_
queues
(
pb
);
down
(
&
pb
->
pb_iodonesema
);
PB_TRACE
(
pb
,
PB_TRACE_REC
(
iowaited
),
(
int
)
pb
->
pb_error
);
return
pb
->
pb_error
;
...
...
@@ -1712,7 +1711,7 @@ pagebuf_daemon(
if
(
as_list_len
>
0
)
purge_addresses
();
if
(
count
)
pagebuf_run_
task_queue
(
NULL
);
pagebuf_run_
queues
(
NULL
);
force_flush
=
0
;
}
while
(
pb_daemon
->
active
==
1
);
...
...
@@ -1783,7 +1782,7 @@ pagebuf_delwri_flush(
spin_unlock
(
&
pb_daemon
->
pb_delwrite_lock
);
pagebuf_run_
task_queue
(
NULL
);
pagebuf_run_
queues
(
NULL
);
if
(
pinptr
)
*
pinptr
=
pincount
;
...
...
fs/xfs/pagebuf/page_buf.h
View file @
690869a3
...
...
@@ -378,11 +378,9 @@ static __inline__ int __pagebuf_iorequest(page_buf_t *pb)
return
pagebuf_iorequest
(
pb
);
}
static
__inline__
void
pagebuf_run_
task_queue
(
page_buf_t
*
pb
)
static
__inline__
void
pagebuf_run_
queues
(
page_buf_t
*
pb
)
{
if
(
pb
&&
(
atomic_read
(
&
pb
->
pb_io_remaining
)
==
0
))
return
;
if
(
!
pb
||
atomic_read
(
&
pb
->
pb_io_remaining
))
blk_run_queues
();
}
...
...
fs/xfs/pagebuf/page_buf_locking.c
View file @
690869a3
...
...
@@ -113,7 +113,7 @@ pagebuf_lock(
ASSERT
(
pb
->
pb_flags
&
_PBF_LOCKABLE
);
PB_TRACE
(
pb
,
PB_TRACE_REC
(
lock
),
0
);
pagebuf_run_
task_queue
(
pb
);
pagebuf_run_
queues
(
pb
);
down
(
&
PBP
(
pb
)
->
pb_sema
);
PB_SET_OWNER
(
pb
);
PB_TRACE
(
pb
,
PB_TRACE_REC
(
locked
),
0
);
...
...
fs/xfs/xfs_buf.h
View file @
690869a3
...
...
@@ -210,7 +210,7 @@ static inline int xfs_bawrite(void *mp, page_buf_t *bp)
bp
->
pb_strat
=
xfs_bdstrat_cb
;
xfs_buf_undelay
(
bp
);
if
((
ret
=
pagebuf_iostart
(
bp
,
PBF_WRITE
|
PBF_ASYNC
))
==
0
)
pagebuf_run_
task_queue
(
bp
);
pagebuf_run_
queues
(
bp
);
return
ret
;
}
...
...
@@ -265,7 +265,7 @@ static inline int XFS_bwrite(page_buf_t *pb)
error
=
pagebuf_iowait
(
pb
);
xfs_buf_relse
(
pb
);
}
else
{
pagebuf_run_
task_queue
(
pb
);
pagebuf_run_
queues
(
pb
);
error
=
0
;
}
...
...
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