aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index cbb9bb31431d..80a27284dbf1 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -200,7 +200,8 @@ loop:
200 * is now congested. Back off and let other work structs 200 * is now congested. Back off and let other work structs
201 * run instead 201 * run instead
202 */ 202 */
203 if (pending && bdi_write_congested(bdi)) { 203 if (pending && bdi_write_congested(bdi) &&
204 fs_info->fs_devices->open_devices > 1) {
204 struct bio *old_head; 205 struct bio *old_head;
205 206
206 spin_lock(&device->io_lock); 207 spin_lock(&device->io_lock);