projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c17f6c
)
btrfs: account that we're waiting for IO in scrub_submit_raid56_bio_wait
author
David Sterba
<dsterba@suse.com>
Wed, 19 Jul 2017 17:30:41 +0000
(19:30 +0200)
committer
David Sterba
<dsterba@suse.com>
Wed, 16 Aug 2017 14:12:04 +0000
(16:12 +0200)
Correctly account for IO when waiting for a submitted bio in scrub. This
only for the accounting purposes and should not change other behaviour.
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/scrub.c
b/fs/btrfs/scrub.c
index de53c521a50f53eea60d47f26031119d745ac421..f49b94ab3d2adafa9f13fb481340000b7f6a43d4 100644
(file)
--- a/
fs/btrfs/scrub.c
+++ b/
fs/btrfs/scrub.c
@@
-1704,7
+1704,7
@@
static int scrub_submit_raid56_bio_wait(struct btrfs_fs_info *fs_info,
if (ret)
return ret;
- wait_for_completion(&done.event);
+ wait_for_completion
_io
(&done.event);
if (done.status)
return -EIO;