commit | d7614e4480fad946ceb1f3f7003850497549d73f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed May 27 07:24:11 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed May 27 05:21:23 2020 -0600 |
tree | 5484f5d93882e03d2f6571780459594aeefaf515 | |
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>