Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374878
b: refs/heads/master
c: 3c59ccd
h: refs/heads/master
v: v3
  • Loading branch information
Vincent authored and Josef Bacik committed May 6, 2013
1 parent 9563354 commit 4d9b23c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd279faefaa0a166733fcaff24699de7a8ea50b3
refs/heads/master: 3c59ccd32abb8f636b1573533d3e77972e80a9c9
5 changes: 3 additions & 2 deletions trunk/fs/btrfs/reada.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,10 +955,11 @@ int btrfs_reada_wait(void *handle)
while (atomic_read(&rc->elems)) {
wait_event_timeout(rc->wait, atomic_read(&rc->elems) == 0,
5 * HZ);
dump_devs(rc->root->fs_info, rc->elems < 10 ? 1 : 0);
dump_devs(rc->root->fs_info,
atomic_read(&rc->elems) < 10 ? 1 : 0);
}

dump_devs(rc->root->fs_info, rc->elems < 10 ? 1 : 0);
dump_devs(rc->root->fs_info, atomic_read(&rc->elems) < 10 ? 1 : 0);

kref_put(&rc->refcnt, reada_control_release);

Expand Down

0 comments on commit 4d9b23c

Please sign in to comment.