diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-27 07:24:11 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-27 05:21:23 -0600 |
commit | d7614e4480fad946ceb1f3f7003850497549d73f (patch) | |
tree | 5484f5d93882e03d2f6571780459594aeefaf515 /block | |
parent | 0fd92f89a44d3ba32c1056f3ceaba8f8bdc08712 (diff) |
zram: nvdimm: use bio_{start,end}_io_acct and disk_{start,end}_io_acct
Switch zram to use the nicer bio accounting helpers, and as part of that
ensure each bio is counted as a single I/O request.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions