+7
−7
+14
−14
+1
−1
+1
−1
Loading
mainline inclusion from mainline-v6.9-rc1 commit 08420cf70cfb32eed2a0abfeb5c54c5651bd0c99 category: feature bugzilla: https://gitee.com/openeuler/release-management/issues/IB4E8P CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=08420cf70cfb32eed2a0abfeb5c54c5651bd0c99 -------------------------------- Convert any user of ktime_get_ns() to use blk_time_get_ns(), and ktime_get() to blk_time_get(), so we have a unified API for querying the current time in nanoseconds or as ktime. No functional changes intended, this patch just wraps ktime_get_ns() and ktime_get() with a block helper. Reviewed-by:Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk> Conflicts: block/blk-cgroup.c [commit a65983d9 ("sched/psi: Introduce fine grained stall time collect for cgroup reclaim") changes context in blkcg_maybe_throttle_blkg().] block/blk-io-hierarchy/stats.c [Also change ktime_get_ns() from self-innovate patch.] Signed-off-by:
Yu Kuai <yukuai3@huawei.com>