diff options
author | Richard Yao <[email protected]> | 2023-03-04 16:48:29 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-03-08 13:51:40 -0800 |
commit | 5dd0f019cd1c579c42f6c3d06b0ac1b03be342ba (patch) | |
tree | ffb6807b0afceb9b83be563d5ad56e68e22cba8e /module | |
parent | f9e109223ba06690d3318ee352dc75d45ce88e2e (diff) |
Linux cleanup: zvol_discard() should only call blk_queue_io_stat() once
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #14575
Diffstat (limited to 'module')
-rw-r--r-- | module/os/linux/zfs/zvol_os.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/os/linux/zfs/zvol_os.c b/module/os/linux/zfs/zvol_os.c index 01e645620..cdf32c78b 100644 --- a/module/os/linux/zfs/zvol_os.c +++ b/module/os/linux/zfs/zvol_os.c @@ -342,8 +342,7 @@ zvol_discard(zv_request_t *zvr) struct request_queue *q = zv->zv_zso->zvo_queue; struct gendisk *disk = zv->zv_zso->zvo_disk; unsigned long start_time = 0; - - boolean_t acct = blk_queue_io_stat(q); + boolean_t acct = B_FALSE; ASSERT3P(zv, !=, NULL); ASSERT3U(zv->zv_open_count, >, 0); |