aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBoris Burkov <[email protected]>2023-04-05 12:43:59 -0700
committerDavid Sterba <[email protected]>2023-04-21 00:28:23 +0200
commitef9cddfe57d86aac6b509b550136395669159b30 (patch)
tree72e4fd47b24fa913534935b50244ba081fa92389 /net/unix/af_unix.c
parente9f59429b87d35cf23ae9ca19629bd686a1c0304 (diff)
btrfs: reinterpret async discard iops_limit=0 as no delay
Currently, a limit of 0 results in a hard coded metering over 6 hours. Since the default is a set limit, I suspect no one truly depends on this rather arbitrary setting. Repurpose it for an arguably more useful "unlimited" mode, where the delay is 0. Note that if block groups are too new, or go fully empty, there is still a delay associated with those conditions. Those delays implement heuristics for not trimming a region we are relatively likely to fully overwrite soon. CC: [email protected] # 6.2+ Reviewed-by: Neal Gompa <[email protected]> Signed-off-by: Boris Burkov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions