aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorChunguang Xu <[email protected]>2021-07-06 05:47:26 +0800
committerJens Axboe <[email protected]>2021-07-07 06:43:20 -0600
commitd80c228d44640f0b47b57a2ca4afa26ef87e16b0 (patch)
tree1d57ac168504faa0db9558ef92eb0ce62362bdfe /net/unix/unix_bpf.c
parentc6af8db92b9a9bc89e3d25535fdc26cb61f419d0 (diff)
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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions