summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ulist.h
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-04-24 21:59:16 +0200
committerJosef Bacik <josef@redhat.com>2012-05-30 16:23:30 +0200
commit0d2450abfa359ff94a2bee64a7daeba68c346c81 (patch)
treeb6b9f88d0d51fa325dfa059a203e7e40856fc36c /fs/btrfs/ulist.h
parentBtrfs: do not do filemap_write_and_wait_range in fsync (diff)
downloadlinux-0d2450abfa359ff94a2bee64a7daeba68c346c81.tar.xz
linux-0d2450abfa359ff94a2bee64a7daeba68c346c81.zip
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>
Diffstat (limited to 'fs/btrfs/ulist.h')
0 files changed, 0 insertions, 0 deletions