Linux cleanup: zvol_discard() should only call blk_queue_io_stat() once
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Closes #14575
This commit is contained in:
parent
f9e109223b
commit
5dd0f019cd
module/os/linux/zfs
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue