Files
linux/fs
Sergei Trofimovich 0d2450abfa btrfs: allow changing 'thread_pool' size at remount time
Changing 'mount -oremount,thread_pool=2 /' didn't make any effect:

maximum amount of worker threads is specified in 2 places:
- in 'strict btrfs_fs_info::thread_pool_size'
- in each worker struct: 'struct btrfs_workers::max_workers'

'mount -oremount' updated only 'btrfs_fs_info::thread_pool_size'.

Fix it by pushing new maximum value to all created worker structures
as well.

Cc: Josef Bacik <josef@redhat.com>
Cc: Chris Mason <chris.mason@oracle.com>
Reviewed-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-05-30 10:23:30 -04:00
..
2012-03-31 16:03:16 -04:00
2012-04-13 13:50:52 -04:00
…
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-04-21 01:58:20 -04:00
2012-03-20 21:29:46 -04:00
2012-03-20 21:29:46 -04:00
…
2012-01-03 22:52:39 -05:00
2012-03-20 21:29:51 -04:00
2012-03-20 21:29:38 -04:00
…
…
…