projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9754767
)
Btrfs: set flushing if we're limited flushing
author
Josef Bacik
<jbacik@fusionio.com>
Tue, 18 Dec 2012 20:16:34 +0000
(15:16 -0500)
committer
Josef Bacik
<josef@toxicpanda.com>
Mon, 14 Jan 2013 18:52:51 +0000
(13:52 -0500)
We still need to say we're flushing if we're limit flushing to keep somebody
from coming in and stealing our reservation. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index
d133edf
..
61fefda
100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-3997,7
+3997,7
@@
again:
* We make the other tasks wait for the flush only when we can flush
* all things.
*/
- if (ret && flush
== BTRFS_RESERVE_FLUSH_ALL
) {
+ if (ret && flush
!= BTRFS_RESERVE_NO_FLUSH
) {
flushing = true;
space_info->flush = 1;
}