summaryrefslogtreecommitdiffstats
path: root/crypto/nhpoly1305.c
diff options
context:
space:
mode:
authorChunguang Xu <brookxu@tencent.com>2021-07-05 23:47:26 +0200
committerJens Axboe <axboe@kernel.dk>2021-07-07 14:43:20 +0200
commitd80c228d44640f0b47b57a2ca4afa26ef87e16b0 (patch)
tree1d57ac168504faa0db9558ef92eb0ce62362bdfe /crypto/nhpoly1305.c
parentMerge branch 'nvme-5.14' of git://git.infradead.org/nvme into block-5.14 (diff)
downloadlinux-d80c228d44640f0b47b57a2ca4afa26ef87e16b0.tar.xz
linux-d80c228d44640f0b47b57a2ca4afa26ef87e16b0.zip
block: fix the problem of io_ticks becoming smaller
On the IO submission path, blk_account_io_start() may interrupt the system interruption. When the interruption returns, the value of part->stamp may have been updated by other cores, so the time value collected before the interruption may be less than part-> stamp. So when this happens, we should do nothing to make io_ticks more accurate? For kernels less than 5.0, this may cause io_ticks to become smaller, which in turn may cause abnormal ioutil values. Signed-off-by: Chunguang Xu <brookxu@tencent.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/1625521646-1069-1-git-send-email-brookxu.cn@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/nhpoly1305.c')
0 files changed, 0 insertions, 0 deletions