search for: btrfs_start_all_delalloc_inodes

Displaying 2 results from an estimated 2 matches for "btrfs_start_all_delalloc_inodes".

2013 Sep 22
10
[PATCH] Btrfs: fix sync fs to actually wait for all data to be persisted
...block *sb, int wait) struct btrfs_trans_handle *trans; struct btrfs_fs_info *fs_info = btrfs_sb(sb); struct btrfs_root *root = fs_info->tree_root; + int ret; trace_btrfs_sync_fs(wait); @@ -921,6 +922,10 @@ int btrfs_sync_fs(struct super_block *sb, int wait) return 0; } + ret = btrfs_start_all_delalloc_inodes(fs_info, 0); + if (ret) + return ret; + btrfs_wait_all_ordered_extents(fs_info); trans = btrfs_attach_transaction_barrier(root); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordo...
2013 Oct 18
11
[GIT PULL] Btrfs
Hi Linus, My for-linus branch has a one line fix: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Sage hit a deadlock with ceph on btrfs, and Josef tracked it down to a regression in our initial rc1 pull. When doing nocow writes we were sometimes starting a transaction with locks held. Josef Bacik (1) commits (+1/-0): Btrfs: release path before starting