diff options
author | Pavel Begunkov <[email protected]> | 2020-11-04 09:45:52 +0000 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-12-08 15:54:05 +0100 |
commit | 6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d (patch) | |
tree | 3e9d65481099d43025231809a3065928186048f4 /lib/pm-notifier-error-inject.c | |
parent | e50404a8a6997f9c0d412fa21f07a0da8e3891a2 (diff) |
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 <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions