summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-11-04 10:45:52 +0100
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:54:05 +0100
commit6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d (patch)
tree3e9d65481099d43025231809a3065928186048f4 /fs/btrfs/sysfs.c
parentbtrfs: discard: speed up async discard up to iops_limit (diff)
downloadlinux-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