Displaying 5 results from an estimated 5 matches for "btrfs_link".
Did you mean:
btrfs_unlink
2010 Mar 08
4
Cross-subvolume link causes kernel BUG
...mer snd_seq_device snd pcspkr floppy forcedeth i2c_nforce2 soundcore snd_page_alloc k8temp usbhid usb_storage
[ 492.164012]
[ 492.164012] Pid: 3919, comm: ln Not tainted (2.6.32.9 #1) System Product Name
[ 492.164012] EIP: 0060:[<f87a646a>] EFLAGS: 00010282 CPU: 0
[ 492.164012] EIP is at btrfs_link+0x17a/0x180 [btrfs]
[ 492.164012] EAX: fffffffe EBX: f5df9000 ECX: c20051a8 EDX: 00000000
[ 492.164012] ESI: fffffffe EDI: f4e60918 EBP: f5037ee4 ESP: f5037eb0
[ 492.164012] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 492.164012] Process ln (pid: 3919, ti=f5036000 task=f5088000 task.ti=f503...
2011 Jun 09
2
[PATCH] Btrfs: turn to readonly if btrfs_start_transaction() fails
...1 for xattr if selinux is on
*/
trans = btrfs_start_transaction(root, 5);
- if (IS_ERR(trans))
+ if (IS_ERR(trans)) {
+ btrfs_abort_transaction(root, PTR_ERR(trans));
return PTR_ERR(trans);
+ }
err = btrfs_find_free_ino(root, &objectid);
if (err)
@@ -4748,6 +4758,7 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
trans = btrfs_start_transaction(root, 5);
if (IS_ERR(trans)) {
err = PTR_ERR(trans);
+ btrfs_abort_transaction(root, err);
goto fail;
}
@@ -4795,8 +4806,10 @@ static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
*...
2011 May 11
8
[PATCH 1/4] Btrfs: map the node block when looking for readahead targets
If we have particularly full nodes, we could call btrfs_node_blockptr up to 32
times, which is 32 pairs of kmap/kunmap, which _sucks_. So go ahead and map the
extent buffer while we look for readahead targets. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
---
fs/btrfs/ctree.c | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git
2013 Oct 16
3
trivial cleanups
Hi gang,
Here''s some trivial cleanups that I''ve built up while reading through
the code. They''ve been run through xfstests -g quick.
- z
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...bjectid);
@@ -3840,7 +3894,7 @@ static int btrfs_create(struct inode *dir, struct dentry *dentry,
out_unlock:
nr = trans->blocks_used;
btrfs_end_transaction_throttle(trans, root);
-fail:
+
if (drop_inode) {
inode_dec_link_count(inode);
iput(inode);
@@ -3864,14 +3918,18 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
return -ENOENT;
btrfs_inc_nlink(inode);
- err = btrfs_check_metadata_free_space(root);
- if (err)
- goto fail;
err = btrfs_set_inode_index(dir, &index);
if (err)
goto fail;
- trans = btrfs_start_transaction(root, 1);
+ /*
+ * 1 ite...