aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/extent-tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 6c29669d81a..b0f2241274f 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -2984,6 +2984,9 @@ loop_check:
*last_ptr = ins->objectid + ins->offset;
ret = 0;
} else if (!ret) {
+ printk(KERN_ERR "we were searching for %Lu bytes, num_bytes %Lu,"
+ " loop %d, allowed_alloc %d\n", total_needed, num_bytes,
+ loop, allowed_chunk_alloc);
ret = -ENOSPC;
}