Skip to content

Commit

Permalink
Revert "disable process pool (#15314)" (#15351)
Browse files Browse the repository at this point in the history
This reverts commit 6c1de36.
  • Loading branch information
yocalebo authored Jan 9, 2025
1 parent ee3fe49 commit d0cbf14
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ZFSDatasetService(CRUDService):
class Config:
namespace = 'zfs.dataset'
private = True
process_pool = False
process_pool = True

@filterable
def query(self, filters, options):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ZFSDatasetService(Service):
class Config:
namespace = 'zfs.dataset'
private = True
process_pool = False
process_pool = True

def path_to_dataset(self, path, mntinfo=None):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ZFSDatasetService(Service):
class Config:
namespace = 'zfs.dataset'
private = True
process_pool = False
process_pool = True

@accepts(
Ref('query-filters'),
Expand Down
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/dataset_quota.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ZFSDatasetService(Service):
class Config:
namespace = 'zfs.dataset'
private = True
process_pool = False
process_pool = True

def query_for_quota_alert(self):
options = {
Expand Down
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/disks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ZFSPoolService(Service):
class Config:
namespace = 'zfs.pool'
private = True
process_pool = False
process_pool = True

def get_disks(self, name):
sys_devices = {}
Expand Down
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ZFSPoolService(CRUDService):
class Config:
namespace = 'zfs.pool'
private = True
process_pool = False
process_pool = True

@filterable
def query(self, filters, options):
Expand Down
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/pool_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ZFSPoolService(Service):
class Config:
namespace = 'zfs.pool'
private = True
process_pool = False
process_pool = True

@functools.cache
def get_search_paths(self):
Expand Down
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/pool_wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ZFSPoolService(Service):
class Config:
namespace = 'zfs.pool'
private = True
process_pool = False
process_pool = True

@accepts(
Str('pool_name'),
Expand Down
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/zfs_/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ZFSSnapshot(CRUDService):
class Config:
datastore_primary_key_type = 'string'
namespace = 'zfs.snapshot'
process_pool = False
process_pool = True
cli_namespace = 'storage.snapshot'
role_prefix = 'SNAPSHOT'
role_separate_delete = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ZFSSnapshot(Service):

class Config:
namespace = 'zfs.snapshot'
process_pool = False
process_pool = True

@accepts(Dict(
'snapshot_clone',
Expand Down

0 comments on commit d0cbf14

Please sign in to comment.