Displaying 6 results from an estimated 6 matches for "submit_work".
2012 Sep 25
3
[PATCH] Btrfs: limit thread pool size when remounting
...->generic_worker, new_pool_size);
+ btrfs_set_max_workers(&fs_info->generic_worker, min(1, new_pool_size));
btrfs_set_max_workers(&fs_info->workers, new_pool_size);
btrfs_set_max_workers(&fs_info->delalloc_workers, new_pool_size);
- btrfs_set_max_workers(&fs_info->submit_workers, new_pool_size);
- btrfs_set_max_workers(&fs_info->caching_workers, new_pool_size);
- btrfs_set_max_workers(&fs_info->fixup_workers, new_pool_size);
+ btrfs_set_max_workers(&fs_info->submit_workers,
+ min_t(u64, fs_info->fs_devices->num_devices,
+ new_p...
2013 Aug 29
0
[PATCH] Btrfs: don't use an async starter for most of our workers
...c_worker);
+ fs_info->thread_pool_size, NULL);
btrfs_init_workers(&fs_info->flush_workers, "flush_delalloc",
- fs_info->thread_pool_size,
- &fs_info->generic_worker);
+ fs_info->thread_pool_size, NULL);
btrfs_init_workers(&fs_info->submit_workers, "submit",
min_t(u64, fs_devices->num_devices,
- fs_info->thread_pool_size),
- &fs_info->generic_worker);
+ fs_info->thread_pool_size), NULL);
btrfs_init_workers(&fs_info->caching_workers, "cache",
- 2, &fs_info->ge...
2011 Jun 10
6
[PATCH v2 0/6] btrfs: generic readeahead interface
This series introduces a generic readahead interface for btrfs trees.
The intention is to use it to speed up scrub in a first run, but balance
is another hot candidate. In general, every tree walk could be accompanied
by a readahead. Deletion of large files comes to mind, where the fetching
of the csums takes most of the time.
Also the initial build-ups of free-space-caches and
2008 Jun 24
1
[RFC][PATCH] btrfs orphan code
...ot_key.objectid);
if (root->in_sysfs)
btrfs_sysfs_del_root(root);
+ if (root->orphan_dir)
+ iput(root->orphan_dir);
if (root->inode)
iput(root->inode);
if (root->node)
@@ -1603,6 +1608,7 @@ int close_ctree(struct btrfs_root *root)
btrfs_stop_workers(&fs_info->submit_workers);
iput(fs_info->btree_inode);
+
#if 0
while(!list_empty(&fs_info->hashers)) {
struct btrfs_hasher *hasher;
diff -r 99b12e2db0f8 inode.c
--- a/inode.c Wed Jun 18 20:50:41 2008 -0400
+++ b/inode.c Tue Jun 24 21:04:39 2008 -0400
@@ -76,6 +76,11 @@ static unsigned char btrfs_type...
2011 Jun 29
14
[PATCH v4 0/6] btrfs: generic readeahead interface
This series introduces a generic readahead interface for btrfs trees.
The intention is to use it to speed up scrub in a first run, but balance
is another hot candidate. In general, every tree walk could be accompanied
by a readahead. Deletion of large files comes to mind, where the fetching
of the csums takes most of the time.
Also the initial build-ups of free-space-caches and
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