search for: cow_file_range_inlin

Displaying 6 results from an estimated 6 matches for "cow_file_range_inlin".

Did you mean: cow_file_range_inline
2012 May 23
1
[PATCH] Btrfs: fall back to non-inline if we don't have enough space
If cow_file_range_inline fails with ENOSPC we abort the transaction which isn''t very nice. This really shouldn''t be happening anyways but there''s no sense in making it a horrible error when we can easily just go allocate normal data space for this stuff. Thanks, Signed-off-by: Josef Bacik &lt...
2011 Mar 24
1
2.6.38 defragment compression oops...
...0 ffff8802fd10ad26 0000000000000001 ffff880303a0a000 ffffea000a75ba30 0000000000000fb2 00000000000008f7 00000000000002da ffff880303a0bcb0 ffffffffa00c5bb0 0000002e00000001 0000000000000000 Call Trace: [<ffffffffa00c5bb0>] insert_inline_extent+0x330/0x350 [btrfs] [<ffffffffa00c5cf6>] cow_file_range_inline+0x126/0x160 [btrfs] [<ffffffffa00c68f0>] compress_file_range+0x3b0/0x580 [btrfs] [<ffffffffa00c6af5>] async_cow_start+0x35/0x50 [btrfs] [<ffffffffa00eac0c>] worker_loop+0xac/0x260 [btrfs] [<ffffffffa00eab60>] ? worker_loop+0x0/0x260 [btrfs] [<ffffffff81086317>] k...
2012 Mar 08
17
kernel BUG at fs/btrfs/delayed-inode.c:1466!
Hi, this shown up today. I had to do a hard reboot as graceful hanged on sync(). ------------[ cut here ]------------ kernel BUG at fs/btrfs/delayed-inode.c:1466! invalid opcode: 0000 [#1] SMP CPU 10 Modules linked in: btrfs zlib_deflate lzo_compress ipmi_devintf autofs4 be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi
2009 Nov 12
0
[PATCH 03/12] Btrfs: Rewrite btrfs_drop_extents
...ty(leaf); + + ret = btrfs_del_items(trans, root, path, del_slot, del_nr); + BUG_ON(ret); +out: btrfs_free_path(path); return 0; } diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ee92801..670902f 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -230,8 +230,7 @@ static noinline int cow_file_range_inline(struct btrfs_trans_handle *trans, return 1; } - ret = btrfs_drop_extents(trans, root, inode, start, - aligned_end, aligned_end, start, + ret = btrfs_drop_extents(trans, inode, start, aligned_end, &hint_byte, 1); BUG_ON(ret); @@ -1596,7 +1595,6 @@ static int insert_reserved...
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...nt insert_inline_extent(struct btrfs_trans_handle *trans, inode_add_bytes(inode, size); ret = btrfs_insert_empty_item(trans, root, path, &key, datasize); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); if (ret) { err = ret; goto fail; @@ -244,14 +244,14 @@ static noinline int cow_file_range_inline(struct btrfs_trans_handle *trans, ret = btrfs_drop_extents(trans, inode, start, aligned_end, &hint_byte, 1); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); if (isize > actual_end) inline_len = min_t(u64, isize, actual_end); ret = insert_inline_extent(trans, root, inode, star...
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