OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/fs/btrfs/scrub.c
b/fs/btrfs/scrub.c
index
de53c52
..
f49b94a
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;