search for: btrfs_force_transaction_commit

Displaying 1 result from an estimated 1 matches for "btrfs_force_transaction_commit".

2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...action *cur; unsigned long now; unsigned long delay; @@ -1485,8 +1484,7 @@ static int transaction_kthread(void *arg) goto sleep; } mutex_unlock(&root->fs_info->trans_mutex); - trans = btrfs_start_transaction(root, 1); - ret = btrfs_commit_transaction(trans, root); + ret = btrfs_force_transaction_commit(root, 0); sleep: wake_up_process(root->fs_info->cleaner_kthread); @@ -1574,7 +1572,7 @@ struct btrfs_root *open_ctree(struct super_block *sb, fs_info->btree_inode = new_inode(sb); fs_info->btree_inode->i_ino = 1; fs_info->btree_inode->i_nlink = 1; - fs_info->meta...