projects
/
openwrt
/
staging
/
blogic.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 d133edfcd449988f14f140f0115ab5069ae023b9..61fefda74ff54b0a40cdab7141369f6e236df85d 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;
}