Re: BUG during log recovery
From: Jan Steffens <hidden>
Date: 2012-12-18 14:32:48
On Tue, Dec 18, 2012 at 2:40 PM, Josef Bacik [off-list ref] wrote:
On Fri, Dec 14, 2012 at 03:04:08PM -0700, Jan Steffens wrote:quoted
After a lockup requiring a hard reset, the btrfs could not be mounted, throwing the following error:Could you tell me what line this comes out to? Give me a few lines of context so I can figure out where it's happening. Thanks, Josef
Sure, here:
caching_ctl = get_caching_control(block_group);
if (!caching_ctl) {
BUG_ON(!block_group_cache_done(block_group));
ret = btrfs_remove_free_space(block_group, start, num_bytes);
BUG_ON(ret); /* -ENOMEM */ // <<< 6185
} else {
mutex_lock(&caching_ctl->mutex);
if (start >= caching_ctl->progress) {
ret = add_excluded_extent(root, start, num_bytes);