]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #14769 from ukernel/wip-19755
authorJohn Spray <jspray@redhat.com>
Tue, 16 May 2017 09:13:58 +0000 (10:13 +0100)
committerGitHub <noreply@github.com>
Tue, 16 May 2017 09:13:58 +0000 (10:13 +0100)
osdc/Filer: truncate large file party by party

Reviewed-by: John Spray <john.spray@redhat.com>
1  2 
src/common/config_opts.h

index 405aeacf6d8f8d4ddf8c65189d9cd94d5a7124e0,a66819710d0d020fea6c530ca7352bfc12b19873..eff246e57cf1c911628643aacfec51c0091c8b61
@@@ -495,7 -488,10 +495,9 @@@ OPTION(objecter_debug_inject_relock_del
  
  // Max number of deletes at once in a single Filer::purge call
  OPTION(filer_max_purge_ops, OPT_U32, 10)
+ // Max number of truncate at once in a single Filer::truncate call
+ OPTION(filer_max_truncate_ops, OPT_U32, 128)
  
 -OPTION(journaler_allow_split_entries, OPT_BOOL, true)
  OPTION(journaler_write_head_interval, OPT_INT, 15)
  OPTION(journaler_prefetch_periods, OPT_INT, 10)   // * journal object size
  OPTION(journaler_prezero_periods, OPT_INT, 5)     // * journal object size