summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/xattr.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2014-10-31 09:49:34 -0400
committerChris Mason <clm@fb.com>2014-11-20 17:20:04 -0800
commit633c0aad4c0243a506a3e8590551085ad78af82d (patch)
tree8cf20fe74c74e70409d4e60c80b65aab1c7f97b5 /fs/btrfs/xattr.c
parentcd743fac42bbc2e6125ee14aaa8741601f92fe9a (diff)
downloadblackbird-obmc-linux-633c0aad4c0243a506a3e8590551085ad78af82d.tar.gz
blackbird-obmc-linux-633c0aad4c0243a506a3e8590551085ad78af82d.zip
Btrfs: move read only block groups onto their own list V2
Our gluster boxes were spending lots of time in statfs because our fs'es are huge. The problem is statfs loops through all of the block groups looking for read only block groups, and when you have several terabytes worth of data that ends up being a lot of block groups. Move the read only block groups onto a read only list and only proces that list in btrfs_account_ro_block_groups_free_space to reduce the amount of churn. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/xattr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud