On Sat, Mar 10, 2012 at 05:05:11PM -0300, Cristian Rodríguez wrote:
In this case the kernel BUGS in btrfs_unlink_subvol()
btrfs_i_size_write(dir, dir->i_size - name_len * 2);
dir->i_mtime = dir->i_ctime = CURRENT_TIME;
ret = btrfs_update_inode(trans, root, dir);
BUG_ON(ret); --> bang, here we go...
fixes the crash when attempting to delete the file under no-space
and my efforts to delete anything are futile :-(
Deleting & COW needs a few blocks to succeed, and for that reason there
is a global reserve of blocks to be used even if there's no space. But
it somehow is not used and no files could be deleted.
The patches above are applied in opensuse kernel.
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org