Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276759
b: refs/heads/master
c: d85c8a6
h: refs/heads/master
i:
  276757: a07a95e
  276755: 1291ac4
  276751: 7066004
v: v3
  • Loading branch information
Chris Mason committed Dec 15, 2011
1 parent 003755c commit 08fc11c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 567a45e917343c952806bb9f5c19aab0139bd519
refs/heads/master: d85c8a6f1bc083279215ff6e79b7c292bf3ec905
6 changes: 6 additions & 0 deletions trunk/fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ static noinline int run_scheduled_bios(struct btrfs_device *device)
btrfs_requeue_work(&device->work);
goto done;
}
/* unplug every 64 requests just for good measure */
if (batch_run % 64 == 0) {
blk_finish_plug(&plug);
blk_start_plug(&plug);
sync_pending = 0;
}
}

cond_resched();
Expand Down

0 comments on commit 08fc11c

Please sign in to comment.