search for: __btrfs_write_out_cache

Displaying 11 results from an estimated 11 matches for "__btrfs_write_out_cache".

2013 Apr 30
13
WARNING: at fs/btrfs/free-space-cache.c:921 __btrfs_write_out_cache+0x6b9/0x9a0 [btrfs]()
...my HP Compaq dc5800 with Ubuntu 13.04 and their 3.8.0-19-lowlatency kernel, I''ve got quite some kernel traces in the syslog. You can find them below or at http://pastebin.com/bLXPBX67 (to avoid line breaks…). These kernel traces all begin with: WARNING: at fs/btrfs/free-space-cache.c:921 __btrfs_write_out_cache+0x6b9/0x9a0 [btrfs]() Most of the time, it starts with: Call Trace: [<ffffffff8105a8df>] warn_slowpath_common+0x7f/0xc0 But once, I also had: Call Trace: [<ffffffff81138e59>] warn_alloc_failed+0xe9/0x140 It happens most of the time, when I copied something on a btrfs. But it a...
2013 Aug 27
7
[PATCH] Btrfs: fix deadlock in uuid scan kthread
...[btrfs] [36700.671680] [<ffffffff81066760>] ? add_wait_queue+0x60/0x60 [36700.671685] [<ffffffffa0582829>] btrfs_search_slot+0x999/0xb00 [btrfs] [36700.671691] [<ffffffffa05bd9de>] ? btrfs_lookup_first_ordered_extent+0x5e/0xb0 [btrfs] [36700.671698] [<ffffffffa05e3e54>] __btrfs_write_out_cache+0x8c4/0xa80 [btrfs] [36700.671704] [<ffffffffa05e4362>] btrfs_write_out_cache+0xb2/0xf0 [btrfs] [36700.671710] [<ffffffffa05c4441>] ? free_extent_buffer+0x61/0xc0 [btrfs] [36700.671716] [<ffffffffa0594c82>] btrfs_write_dirty_block_groups+0x562/0x650 [btrfs] [36700.671723] [&lt...
2012 Jan 11
12
[PATCH 00/11] Btrfs: some patches for 3.3
The biggest one is a fix for fstrim, and there''s a fix for on-disk free space cache. Others are small fixes and cleanups. The last three have been sent weeks ago. The patchset is also available in this repo: git://repo.or.cz/linux-btrfs-devel.git for-chris Note there''s a small confict with Al Viro''s vfs changes. Li Zefan (11): Btrfs: add pinned extents to
2012 Sep 17
2
'umount' of multi-device volume hangs until the device is physically un-plugged
...+0x80/0x90 [ 469.037851] [<ffffffff8107f660>] ? autoremove_wake_function+0x50/0x50 [ 469.037858] [<ffffffff8112af21>] filemap_fdatawait_range+0x101/0x190 [ 469.037889] [<ffffffffa057e4d8>] btrfs_wait_ordered_range+0x68/0x120 [btrfs] [ 469.037919] [<ffffffffa059f412>] __btrfs_write_out_cache+0x772/0x990 [btrfs] [ 469.037942] [<ffffffffa05573ce>] ? run_clustered_refs+0x1be/0xb50 [btrfs] [ 469.037972] [<ffffffffa05a5278>] ? btrfs_find_ref_cluster+0x68/0x170 [btrfs] [ 469.037999] [<ffffffffa059f6e1>] btrfs_write_out_cache+0xb1/0xf0 [btrfs] [ 469.038021] [<ffff...
2011 Aug 15
9
[patch v2 0/9] btrfs: More error handling patches
Hi all - The following 9 patches add more error handling to the btrfs code: - Add btrfs_panic - Catch locking failures in {set,clear}_extent_bit - Push up set_extent_bit errors to callers - Push up lock_extent errors to callers - Push up clear_extent_bit errors to callers - Push up unlock_extent errors to callers - Make pin_down_extent return void - Push up btrfs_pin_extent errors to
2013 Aug 04
2
Unable to unmount filesystem (bug in kernel reported in kern.log)
...te_range+0x5b/0x60 Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffff8111b2af>] filemap_fdatawrite+0x1f/0x30 Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffff8111b2f5>] filemap_write_and_wait+0x35/0x60 Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa053ad2f>] __btrfs_write_out_cache+0x6cf/0x950 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffff816606be>] ? _raw_spin_lock+0xe/0x20 Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa053b069>] btrfs_write_out_cache+0xb9/0xf0 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa04f4424...
2013 Oct 25
0
[PATCH] Btrfs: return an error from btrfs_wait_ordered_range
...+ if (ret) + goto out; } else { if (ordered) btrfs_put_ordered_extent(ordered); diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 7fd48df..fa776bb 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -1010,8 +1010,13 @@ static int __btrfs_write_out_cache(struct btrfs_root *root, struct inode *inode, if (ret) goto out; - - btrfs_wait_ordered_range(inode, 0, (u64)-1); + ret = btrfs_wait_ordered_range(inode, 0, (u64)-1); + if (ret) { + clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, inode->i_size - 1, + EXTENT_DIRTY | EXTENT_DELALL...
2012 Aug 14
2
Hung I/O, Kernel BUG with corrupt leaf (bad key order)
...gt;] do_writepages+0x22/0x50 [ 153.916315] [<ffffffff8110d5fb>] __filemap_fdatawrite_range+0x5b/0x60 [ 153.916315] [<ffffffff8110d61f>] filemap_fdatawrite+0x1f/0x30 [ 153.920013] [<ffffffff8110d665>] filemap_write_and_wait+0x35/0x60 [ 153.920013] [<ffffffffa01cf622>] __btrfs_write_out_cache+0x792/0x9a0 [btrfs] [ 153.920013] [<ffffffffa0175b25>] ? __find_space_info+0x85/0xa0 [btrfs] [ 153.920013] [<ffffffffa017f28b>] ? btrfs_run_delayed_refs+0x1cb/0x450 [btrfs] [ 153.920013] [<ffffffffa01cf8c5>] btrfs_write_out_cache+0x95/0xf0 [btrfs] [ 153.920013] [<ffffff...
2013 Oct 05
10
Linux Arch: kernel BUG at fs/btrfs/inode.c:873!
...s+0x1e/0x40 [ 68.128014] [<ffffffff81123669>] __filemap_fdatawrite_range+0x59/0x60 [ 68.128048] [<ffffffff81123733>] filemap_fdatawrite_range+0x13/0x20 [ 68.128090] [<ffffffffa0481c99>] btrfs_wait_ordered_range+0x49/0x110 [btrfs] [ 68.128135] [<ffffffffa04a64c0>] __btrfs_write_out_cache+0x6d0/0x8f0 [btrfs] [ 68.128180] [<ffffffffa04a774d>] btrfs_write_out_cache+0x8d/0xe0 [btrfs] [ 68.128224] [<ffffffffa0459983>] btrfs_write_dirty_block_groups+0x533/0x620 [btrfs] [ 68.128271] [<ffffffffa04676e2>] commit_cowonly_roots+0x172/0x260 [btrfs] [ 68.128314] [&...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them
2012 Dec 18
0
[PATCH] [RFC] Btrfs: Subpagesize blocksize (WIP).
...ges << PAGE_CACHE_SHIFT); + copied); btrfs_drop_pages(pages, num_pages); break; } diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 59ea2e4..1c0e254 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -960,6 +960,8 @@ int __btrfs_write_out_cache(struct btrfs_root *root, struct inode *inode, if (block_group) start = block_group->key.objectid; + else // Hmm I don''t recall putting this here. + start = (u64)-1; while (block_group && (start < block_group->key.objectid + block_group->key.offset...