search for: btrfs_log_dentry_safe

Displaying 4 results from an estimated 4 matches for "btrfs_log_dentry_safe".

2010 Nov 29
0
[GIT PULL] Btrfs updates for 2.6.37-rc
...ve assorted correctness fixes, many of which were kicked out by xfsqa. -chris Josef Bacik (11) commits (+241/-54): Btrfs: make btrfs_add_nondir take parent inode as an argument (+16/-22) Btrfs: fix typo in fallocate to make it honor actual size (+5/-4) Btrfs: hold i_mutex when calling btrfs_log_dentry_safe (+7/-0) Btrfs: setup blank root and fs_info for mount time (+33/-7) Btrfs: make sure new inode size is ok in fallocate (+4/-0) Btrfs: use dget_parent where we can UPDATED (+43/-12) Btrfs: handle the space_cache option properly (+1/-0) Btrfs: update inode ctime when using links (...
2013 Apr 13
0
btrfs crash (and softlockup btrfs-endio-wri)
...datastore01 kernel: [1210991.390800] [<ffffffff8113fe14>] ? __pagevec_release+0x24/0x40 Apr 13 04:05:54 datastore01 kernel: [1210991.390816] [<ffffffffa03f569b>] btrfs_log_inode_parent+0x17b/0x450 [btrfs] Apr 13 04:05:54 datastore01 kernel: [1210991.390831] [<ffffffffa03f59b7>] btrfs_log_dentry_safe+0x47/0x70 [btrfs] Apr 13 04:05:54 datastore01 kernel: [1210991.390846] [<ffffffffa03cc3c7>] btrfs_sync_file+0x167/0x230 [btrfs] Apr 13 04:05:54 datastore01 kernel: [1210991.390852] [<ffffffff811c815d>] vfs_fsync_range+0x1d/0x30 Apr 13 04:05:54 datastore01 kernel: [1210991.390860] [&l...
2011 Aug 26
0
[PATCH] Btrfs: make some functions return void
...rans, - struct btrfs_fs_info *fs_info); +void btrfs_free_log(struct btrfs_trans_handle *trans, struct btrfs_root *root); +void btrfs_free_log_root_tree(struct btrfs_trans_handle *trans, + struct btrfs_fs_info *fs_info); int btrfs_recover_log_trees(struct btrfs_root *tree_root); int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct dentry *dentry); @@ -38,7 +38,7 @@ int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, struct inode *inode, u64 dirid); -int...
2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...ath, inode->i_ino, search_start, -1); if (ret < 0) @@ -1080,6 +1084,10 @@ out_nolock: if ((file->f_flags & O_SYNC) || IS_SYNC(inode)) { trans = btrfs_start_transaction(root, 1); + if (IS_ERR(trans)) { + err = PTR_ERR(trans); + goto fail; + } ret = btrfs_log_dentry_safe(trans, root, file->f_dentry); if (ret == 0) { @@ -1092,6 +1100,7 @@ out_nolock: btrfs_commit_transaction(trans, root); } } +fail: if (file->f_flags & O_DIRECT) { invalidate_mapping_pages(inode->i_mapping, start_pos >> PAGE_CACHE_SHIFT,...