projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b1fab
)
erofs: set iowait for sync decompression
author
Gao Xiang
<gaoxiang25@huawei.com>
Tue, 8 Oct 2019 12:56:16 +0000
(20:56 +0800)
committer
Gao Xiang
<gaoxiang25@huawei.com>
Sun, 24 Nov 2019 03:02:41 +0000
(11:02 +0800)
For those tasks waiting I/O for sync decompression,
they should be better marked as IO wait state.
Link:
https://lore.kernel.org/r/20191008125616.183715-5-gaoxiang25@huawei.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
fs/erofs/zdata.c
patch
|
blob
|
history
diff --git
a/fs/erofs/zdata.c
b/fs/erofs/zdata.c
index f6056ba80424046be5e0bdd8e8fab2662ee8c413..35bf6879d3a69b63cc74ab9173daa82bf043f397 100644
(file)
--- a/
fs/erofs/zdata.c
+++ b/
fs/erofs/zdata.c
@@
-1288,8
+1288,8
@@
static void z_erofs_submit_and_unzip(struct super_block *sb,
return;
/* wait until all bios are completed */
- wait_event(io[JQ_SUBMIT].u.wait,
- !atomic_read(&io[JQ_SUBMIT].pending_bios));
+
io_
wait_event(io[JQ_SUBMIT].u.wait,
+
!atomic_read(&io[JQ_SUBMIT].pending_bios));
/* let's synchronous decompression */
z_erofs_vle_unzip_all(&io[JQ_SUBMIT], pagepool);