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
ee3804d9
Commit
ee3804d9
authored
Jan 19, 2016
by
Dave Chinner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xfs-misc-fixes-for-4.5-3' into for-next
parents
4c931f77
85bec546
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.c
+10
-0
fs/xfs/xfs_trans_ail.c
fs/xfs/xfs_trans_ail.c
+0
-1
No files found.
fs/xfs/xfs_buf.c
View file @
ee3804d9
...
@@ -1527,6 +1527,16 @@ xfs_wait_buftarg(
...
@@ -1527,6 +1527,16 @@ xfs_wait_buftarg(
LIST_HEAD
(
dispose
);
LIST_HEAD
(
dispose
);
int
loop
=
0
;
int
loop
=
0
;
/*
* We need to flush the buffer workqueue to ensure that all IO
* completion processing is 100% done. Just waiting on buffer locks is
* not sufficient for async IO as the reference count held over IO is
* not released until after the buffer lock is dropped. Hence we need to
* ensure here that all reference counts have been dropped before we
* start walking the LRU list.
*/
drain_workqueue
(
btp
->
bt_mount
->
m_buf_workqueue
);
/* loop until there is nothing left on the lru list. */
/* loop until there is nothing left on the lru list. */
while
(
list_lru_count
(
&
btp
->
bt_lru
))
{
while
(
list_lru_count
(
&
btp
->
bt_lru
))
{
list_lru_walk
(
&
btp
->
bt_lru
,
xfs_buftarg_wait_rele
,
list_lru_walk
(
&
btp
->
bt_lru
,
xfs_buftarg_wait_rele
,
...
...
fs/xfs/xfs_trans_ail.c
View file @
ee3804d9
...
@@ -497,7 +497,6 @@ xfsaild(
...
@@ -497,7 +497,6 @@ xfsaild(
long
tout
=
0
;
/* milliseconds */
long
tout
=
0
;
/* milliseconds */
current
->
flags
|=
PF_MEMALLOC
;
current
->
flags
|=
PF_MEMALLOC
;
set_freezable
();
while
(
!
kthread_should_stop
())
{
while
(
!
kthread_should_stop
())
{
if
(
tout
&&
tout
<=
20
)
if
(
tout
&&
tout
<=
20
)
...
...
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