]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move dev stats accounting out of wait_dev_flush
authorDavid Sterba <dsterba@suse.com>
Thu, 15 Jun 2017 14:20:43 +0000 (16:20 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Jun 2017 17:03:39 +0000 (19:03 +0200)
commitd4da69ddeeffd4ddb66be959f78400c4aea4bac0
treefce92b32f9f89db6d795c4f47646ba8775bfc57f
parentc5ce8098f7fb52fae891ab2ef1ddbe31d8998386
btrfs: move dev stats accounting out of wait_dev_flush

We should really just wait in wait_dev_flush and let the caller decide
what to do with the error value.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c