search for: btrfs_read_locked_inode

Displaying 7 results from an estimated 7 matches for "btrfs_read_locked_inode".

2011 Sep 05
1
Error on creating snapshots (btrfs: could not do orphan cleanup -116)
This happens on a freshly created btrfs filesystem in a raid10 (4x1TB) configuration with three subvolumes and 1.5 TB data. When I try to snapshot one of the subvolumes (with 100 GB of data), it says that the snapshot creation failed and I get the following error message: btrfs: could not do orphan cleanup -116 After the failure: - The snapshot exists in `btrfs subvolume list'' - The
2008 Feb 22
1
[PATCH] IGET: Remove initialisation of read_inode() super op from BTRFS
...s/btrfs/super.c b/fs/btrfs/super.c index a46300c..612a34f 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -462,7 +462,6 @@ static struct super_operations btrfs_super_ops = { .delete_inode = btrfs_delete_inode, .put_inode = btrfs_put_inode, .put_super = btrfs_put_super, - .read_inode = btrfs_read_locked_inode, .write_super = btrfs_write_super, .sync_fs = btrfs_sync_fs, .write_inode = btrfs_write_inode,
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
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...", inode->i_ino); + goto out_free; + } + leaf = path->nodes[0]; + ret = btrfs_delete_one_dir_name(trans, root, path, di); + if (ret) + goto out_free; + + list_del_init(&BTRFS_I(inode)->i_orphan); + +out_free: + kfree(name); + btrfs_free_path(path); +out: + return ret; +} + void btrfs_read_locked_inode(struct inode *inode) { struct btrfs_path *path; @@ -918,6 +1047,9 @@ fail: * * csum items that cross the new i_size are truncated to the new size * as well. + * + * min_type is the minimum key type to truncate down to. If set to 0, this + * will kill all the items on this inode, including...
2013 Aug 04
2
Unable to unmount filesystem (bug in kernel reported in kern.log)
...ernel: [ 3878.951105] [<ffffffffa0523442>] extent_write_cache_pages.isra.21.constprop.31+0x2c2/0x3e0 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa05237a5>] extent_writepages+0x45/0x60 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa05085d0>] ? btrfs_read_locked_inode+0x390/0x390 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa051fade>] ? clear_extent_bit+0x1ce/0x3f0 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa0506ff8>] btrfs_writepages+0x28/0x30 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffff...
2012 Apr 09
9
[PATCH] Btrfs: use i_version instead of our own sequence
...o out; } - BTRFS_I(inode)->sequence++; start_pos = round_down(pos, root->sectorsize); if (start_pos > i_size_read(inode)) { diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 7a084fb..7d3dd2f 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2510,7 +2510,7 @@ static void btrfs_read_locked_inode(struct inode *inode) inode_set_bytes(inode, btrfs_inode_nbytes(leaf, inode_item)); BTRFS_I(inode)->generation = btrfs_inode_generation(leaf, inode_item); - BTRFS_I(inode)->sequence = btrfs_inode_sequence(leaf, inode_item); + inode->i_version = btrfs_inode_sequence(leaf, inode_item);...
2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
Hi, Here''s an implementation of NFS support for btrfs. It does not work in one particular case as described in http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg00298.html. This uses the btrfs_iget helper introduced previously. Comments ? --- Signed-off-by: Balaji Rao <balajirrao@gmail.com> diff -r 3f0eee804974 Makefile --- a/Makefile Thu Jun 26 10:34:20 2008 -0400