search for: btrfs_add_link

Displaying 8 results from an estimated 8 matches for "btrfs_add_link".

2011 Aug 03
6
BTRFS partition won't mount
...dbas iTCO_wdt i2c_core crc_itu_t iTCO_vendor_support intel_agp snd_page_alloc processor intel_gtt e1000e btrfs zlib_deflate crc32c libcrc32c ext2 mbcache ehci_hcd usbcore sr_mod cdrom sd_mod ahci libahci libata scsi_mod [ 27.157096] RIP: 0010:[<ffffffffa010b781>] [<ffffffffa010b781>] btrfs_add_link+0x161/0x1c0 [btrfs] [ 27.158176] [<ffffffffa013482f>] add_inode_ref+0x30f/0x3d0 [btrfs] [ 27.158245] [<ffffffffa013567b>] replay_one_buffer+0x2bb/0x3b0 [btrfs] [ 27.158318] [<ffffffffa0122f27>] ? alloc_extent_buffer+0x87/0x3d0 [btrfs] [ 27.158391] [<ffffffffa0132cd1...
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...fs_truncate_in_trans(struct btrfs_trans_handle *trans, struct btrfs_root *root, @@ -1805,11 +1937,6 @@ fail: return ERR_PTR(ret); } -static inline u8 btrfs_inode_type(struct inode *inode) -{ - return btrfs_type_by_mode[(inode->i_mode & S_IFMT) >> S_SHIFT]; -} - static int btrfs_add_link(struct btrfs_trans_handle *trans, struct dentry *dentry, struct inode *inode, int add_backref) @@ -1826,7 +1953,7 @@ static int btrfs_add_link(struct btrfs_t ret = btrfs_insert_dir_item(trans, root, dentry->d_name.name, dentry->d_name.len, dentry->d_pare...
2012 Dec 17
5
Feeback on RAID1 feature of Btrfs
...fs] [ 804.910730] [<ffffffffa0169fcc>] btrfs_insert_empty_items+0x7c/0xe0 [btrfs] [ 804.910742] [<ffffffffa017c313>] insert_with_overflow+0x43/0x120 [btrfs] [ 804.910753] [<ffffffffa017c4ac>] btrfs_insert_dir_item+0xbc/0x200 [btrfs] [ 804.910767] [<ffffffffa0195c6b>] btrfs_add_link+0xeb/0x300 [btrfs] [ 804.910781] [<ffffffffa0196f64>] btrfs_create+0x1a4/0x210 [btrfs] [ 804.910799] [<ffffffff81217a0c>] ? security_inode_permission+0x1c/0x30 [ 804.910813] [<ffffffff8118fd56>] vfs_create+0xb6/0x120 [ 804.910833] [<ffffffff8119281d>] do_last+0xd5d/0...
2013 Apr 25
0
[PATCH] Btrfs: remove almost all of the BUG()'s from tree-log.c
...t btrfs_trans_handle *trans, parent_objectid, ref_index, name, namelen, &search_done); - if (ret == 1) + if (ret == 1) { + ret = 0; + goto out; + } + if (ret) goto out; - BUG_ON(ret); } /* insert our name */ ret = btrfs_add_link(trans, dir, inode, name, namelen, 0, ref_index); - BUG_ON(ret); + if (ret) + goto out; btrfs_update_inode(trans, root, inode); } @@ -1166,13 +1184,11 @@ static noinline int add_inode_ref(struct btrfs_trans_handle *trans, /* finally write the back reference in the inod...
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...BUG_ON(ret); + btrfs_fixable_bug_on(ret); continue; } @@ -3725,7 +3725,7 @@ void btrfs_evict_inode(struct inode *inode) if (ret == 0) { ret = btrfs_orphan_del(trans, inode); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); } nr = trans->blocks_used; @@ -4566,7 +4566,7 @@ int btrfs_add_link(struct btrfs_trans_handle *trans, ret = btrfs_insert_dir_item(trans, root, name, name_len, parent_inode->i_ino, &key, btrfs_inode_type(inode), index); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); btrfs_i_size_write(parent_inode, parent_inode->i_size +...
2010 Mar 02
3
2.6.33 high cpu usage
With the ATI bug I was hitting earlier fixed, only my btrfs partition continues to show high cpu usage for some operations. Rsync, git pull, git checkout and svn up are typicall operations which trigger the high cpu usage. As an example, this perf report is from using git checkout to change to a new branch; the change needed to checkout 208 files out of about 1600 total files. du(1) reports
2011 Jun 21
19
[GIT PULL v3] Btrfs: improve write ahead log with sub transaction
I''ve been working to try to improve the write-ahead log''s performance, and I found that the bottleneck addresses in the checksum items, especially when we want to make a random write on a large file, e.g a 4G file. Then a idea for this suggested by Chris is to use sub transaction ids and just to log the part of inode that had changed since either the last log commit or the last
2011 Mar 09
0
Re: "open_ctree failed", unable to mount the fs
...tp2 kernel: [121668.144381]  [] ? btrfs_insert_dir_item+0x83/0x266 [btrfs] Mar  9 23:59:24 ftp2 kernel: [121668.144391]  [] ? btrfs_release_path+0x3b/0x52 [btrfs] Mar  9 23:59:24 ftp2 kernel: [121668.144405]  [] ? __btrfs_getxattr+0xed/0xff [btrfs] Mar  9 23:59:24 ftp2 kernel: [121668.144420]  [] ? btrfs_add_link+0x108/0x160 [btrfs] Mar  9 23:59:24 ftp2 kernel: [121668.144435]  [] ? btrfs_add_nondir+0x25/0x4e [btrfs] Mar  9 23:59:24 ftp2 kernel: [121668.144450]  [] ? btrfs_init_inode_security+0x12/0x2d [btrfs] Mar  9 23:59:24 ftp2 kernel: [121668.144464]  [] ? btrfs_create+0xfb/0x1b5 [btrfs] Mar  9 23:59:24...