Displaying 8 results from an estimated 8 matches for "init_btrfs_fs".
2007 Nov 06
0
[PATCH] check return value in extent map allocation
...t(void);
int extent_clean_all_trees(struct extent_map_tree *tree);
int set_extent_uptodate(struct extent_map_tree *tree, u64 start, u64 end,
diff -r 29b8cc7794ac super.c
--- a/super.c Thu Sep 20 14:14:42 2007 -0400
+++ b/super.c Tue Nov 06 19:06:04 2007 -0500
@@ -345,7 +345,9 @@ static int __init init_btrfs_fs(void)
err = btrfs_init_cachep();
if (err)
return err;
- extent_map_init();
+ err = extent_map_init();
+ if (err)
+ return err;
return register_filesystem(&btrfs_fs_type);
}
2012 May 07
0
[PATCH V2] btrfs: fix message printing
...rfs_interface_init(void)
static void btrfs_interface_exit(void)
{
if (misc_deregister(&btrfs_misc) < 0)
- printk(KERN_INFO "misc_deregister failed for control device");
+ printk(KERN_INFO "btrfs: misc_deregister failed for control device\n");
}
static int __init init_btrfs_fs(void)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 1411b99..79b603d 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -619,7 +619,7 @@ static int __btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
bdev = blkdev_get_by_path(device->name, flags, holder);
if (...
2013 Oct 09
2
[PATCH] Btrfs: add tests for find_lock_delalloc_range
...return ret;
- return btrfs_test_extent_buffer_operations();
+
+ ret = btrfs_test_free_space_cache();
+ if (ret)
+ goto out;
+ ret = btrfs_test_extent_buffer_operations();
+ if (ret)
+ goto out;
+ ret = btrfs_test_extent_io();
+out:
+ btrfs_destroy_test_fs();
+ return ret;
}
static int __init init_btrfs_fs(void)
diff --git a/fs/btrfs/tests/btrfs-tests.h b/fs/btrfs/tests/btrfs-tests.h
index 04f2cd2..e935fe5 100644
--- a/fs/btrfs/tests/btrfs-tests.h
+++ b/fs/btrfs/tests/btrfs-tests.h
@@ -25,6 +25,10 @@
int btrfs_test_free_space_cache(void);
int btrfs_test_extent_buffer_operations(void);
+int btrfs_...
2014 Sep 09
2
Re: CoreOS support
..., comm: modprobe veid: 0 Not tainted 2.6.32-30-pve #1
>> [ 7.608315] Call Trace:
>> [ 7.610274] [<ffffffff81072bd9>] ? add_taint+0x69/0x70
>> [ 7.614307] [<ffffffff810a8231>] ? mark_tech_preview+0x71/0xa0
>> [ 7.618818] [<ffffffffa028f014>] ? init_btrfs_fs+0x14/0xb8 [btrfs]
>> [ 7.623787] [<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
>> [ 7.628341] [<ffffffff810cbab6>] ? sys_init_module+0xd6/0x260
>> [ 7.632789] [<ffffffff8100b182>] ? system_call_fastpath+0x16/0x1b
>> [ 7.638362] Btrfs load...
2013 Mar 15
0
[PATCH] Btrfs: add some free space cache tests
...+++ b/fs/btrfs/super.c
@@ -56,6 +56,7 @@
#include "compression.h"
#include "rcu-string.h"
#include "dev-replace.h"
+#include "free-space-cache.h"
#define CREATE_TRACE_POINTS
#include <trace/events/btrfs.h>
@@ -1738,6 +1739,10 @@ static int __init init_btrfs_fs(void)
btrfs_init_lockdep();
+#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
+ btrfs_test_free_space_cache();
+#endif
+
printk(KERN_INFO "%s loaded\n", BTRFS_BUILD_VERSION);
return 0;
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
t...
2014 Sep 09
2
Re: CoreOS support
...th flag 0x1d
[ 7.603207] Pid: 299, comm: modprobe veid: 0 Not tainted 2.6.32-30-pve #1
[ 7.608315] Call Trace:
[ 7.610274] [<ffffffff81072bd9>] ? add_taint+0x69/0x70
[ 7.614307] [<ffffffff810a8231>] ? mark_tech_preview+0x71/0xa0
[ 7.618818] [<ffffffffa028f014>] ? init_btrfs_fs+0x14/0xb8 [btrfs]
[ 7.623787] [<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
[ 7.628341] [<ffffffff810cbab6>] ? sys_init_module+0xd6/0x260
[ 7.632789] [<ffffffff8100b182>] ? system_call_fastpath+0x16/0x1b
[ 7.638362] Btrfs loaded
[ 7.641010] device label ROOT...
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
2014 Sep 09
2
Re: CoreOS support
The options -x -v gave me an error that no such option so I ruined it with —debug option.
root@ny2proxd03:/var/lib/vz/images/100# virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized --debug
command line: virt-resize --expand /dev/sda3 vm-100-disk-1.qcow2 vm-100-disk-1.qcow2.resized --debug
Examining vm-100-disk-1.qcow2 ...
libguestfs: trace: add_drive