On Sat, Mar 10, 2012 at 05:05:11PM -0300, Cristian Rodríguez wrote:
In this case the kernel BUGS in btrfs_unlink_subvol() exactly in
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=fs/btr...
line 2951
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... btrfs_free_path(path); return 0;
This patch http://article.gmane.org/gmane.comp.file-systems.btrfs/15254 (depends on http://permalink.gmane.org/gmane.comp.file-systems.btrfs/15253 ) fixes the crash when attempting to delete the file under no-space conditions.
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. david -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org