diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-04 09:45:52 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:54:05 +0100 |
commit | 6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d (patch) | |
tree | 3e9d65481099d43025231809a3065928186048f4 /fs/btrfs/send.c | |
parent | e50404a8a6997f9c0d412fa21f07a0da8e3891a2 (diff) | |
download | linux-6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d.tar.bz2 |
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/send.c')
0 files changed, 0 insertions, 0 deletions