diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-04 10:45:52 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:54:05 +0100 |
commit | 6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d (patch) | |
tree | 3e9d65481099d43025231809a3065928186048f4 /fs/btrfs/sysfs.c | |
parent | btrfs: discard: speed up async discard up to iops_limit (diff) | |
download | linux-6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d.tar.xz linux-6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d.zip |
btrfs: discard: store async discard delay as ns not as jiffies
Most delay calculations are done in ns or ms, so store
discard_ctl->delay in ms and convert the final delay to jiffies only at
the end.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/sysfs.c')
0 files changed, 0 insertions, 0 deletions