diff options
author | 2020-07-28 21:59:20 +0800 | |
---|---|---|
committer | 2020-07-28 09:14:52 -0600 | |
commit | c5be1f2c5bab1538aa29cd42e226d6b80391e3ff (patch) | |
tree | 6b6b4c16b2c1ed560678914fc0bb2cd002f4fbd4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcache: fix bio_{start,end}_io_acct with proper device (diff) | |
download | wireguard-linux-c5be1f2c5bab1538aa29cd42e226d6b80391e3ff.tar.xz wireguard-linux-c5be1f2c5bab1538aa29cd42e226d6b80391e3ff.zip |
bcache: use disk_{start,end}_io_acct() to count I/O for bcache device
This patch is a fix to patch "bcache: fix bio_{start,end}_io_acct with
proper device". The previous patch uses a hack to temporarily set
bi_disk to bcache device, which is mistaken too.
As Christoph suggests, this patch uses disk_{start,end}_io_acct() to
count I/O for bcache device in the correct way.
Fixes: 85750aeb748f ("bcache: use bio_{start,end}_io_acct")
Signed-off-by: Coly Li <colyli@suse.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions