diff options
author | Jiufei Xue <jiufei.xue@linux.alibaba.com> | 2018-02-27 20:10:03 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-03-01 08:41:23 -0700 |
commit | 7c5a0dcf557c6511a61e092ba887de28882fe857 (patch) | |
tree | da84e1c427e6ef6f7bd1a203cfef657fbc5dca42 /block/partition-generic.c | |
parent | f3bc78d2d4b489590540ab2788d5376583e28173 (diff) | |
download | linux-7c5a0dcf557c6511a61e092ba887de28882fe857.tar.bz2 |
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: 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index")
Cc: stable@vger.kernel.org
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions