Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: fix the count of PGPGOUT for WRITE_SAME
The vm counters is counted in sectors, so we should do the conversation in submit_bio. Fixes: 74d4699 ("block: replace bi_bdev with a gendisk pointer and partitions index") Cc: [email protected] Reviewed-by: Omar Sandoval <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jiufei Xue <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information