diff options
| author | Coly Li <[email protected]> | 2020-07-28 13:59:20 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-07-28 15:14:52 +0000 |
| commit | c5be1f2c5bab1538aa29cd42e226d6b80391e3ff (patch) | |
| tree | 6b6b4c16b2c1ed560678914fc0bb2cd002f4fbd4 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | bcache: fix bio_{start,end}_io_acct with proper device (diff) | |
| download | kernel-c5be1f2c5bab1538aa29cd42e226d6b80391e3ff.tar.gz kernel-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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
