diff options
author | Coly Li <colyli@suse.de> | 2020-07-28 15:59:20 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-28 17:14:52 +0200 |
commit | c5be1f2c5bab1538aa29cd42e226d6b80391e3ff (patch) | |
tree | 6b6b4c16b2c1ed560678914fc0bb2cd002f4fbd4 /block | |
parent | bcache: fix bio_{start,end}_io_acct with proper device (diff) | |
download | linux-c5be1f2c5bab1538aa29cd42e226d6b80391e3ff.tar.xz 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