mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
Btrfs: Add some debugging around the ENOSPC bugs
Some people are still reporting problems with early enospc. This will help narrown down the cause. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
e3e469f86e
commit
4ce4cb526f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user