Displaying 2 results from an estimated 2 matches for "user_thresh".
2013 Feb 11
2
[PATCH] btrfs: accept zero for balance usage filter
...5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 5cbb7f4..fb871d0 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -2623,7 +2623,10 @@ static int chunk_usage_filter(struct btrfs_fs_info *fs_info, u64 chunk_offset,
user_thresh = div_factor_fine(cache->key.offset,
bargs->usage);
- if (chunk_used < user_thresh)
+ pr_debug("btrfs: chunk_used %llu, user_thresh %llu\n",
+ (unsigned long long)chunk_used,
+ (unsigned long long)user_thresh);
+ if (chunk_used <= user_thresh)
ret = 0;...
2011 Aug 23
40
[PATCH 00/21] [RFC] Btrfs: restriper
Hello,
This patch series adds an initial implementation of restriper (it''s a
clever name for relocation framework that allows to do selective profile
changing and selective balancing with some goodies like pausing/resuming
and reporting progress to the user.
Profile changing is global (per-FS) so far, per-subvolume profiles
require some discussion and can be implemented in future.