OPTION(filestore, OPT_BOOL, false)
/// filestore wb throttle limits
+OPTION(filestore_wbthrottle_enable, OPT_BOOL, true)
OPTION(filestore_wbthrottle_btrfs_bytes_start_flusher, OPT_U64, 41943040)
OPTION(filestore_wbthrottle_btrfs_bytes_hard_limit, OPT_U64, 419430400)
OPTION(filestore_wbthrottle_btrfs_ios_start_flusher, OPT_U64, 500)
r = bl.length();
// flush?
- if (!replaying)
+ if (!replaying &&
+ g_conf->filestore_wbthrottle_enable)
wbthrottle.queue_wb(fd, oid, offset, len, replica);
lfn_close(fd);