diff options
| author | Shenghui Wang <shhuiw@foxmail.com> | 2018-10-08 20:41:15 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-10-08 08:19:50 -0600 |
| commit | 46010141da6677b81cc77f9b47f8ac62bd1cbfd3 (patch) | |
| tree | 0af7066c93413a5504498ca0010b7705ef4a56b1 /tools/perf/scripts/python | |
| parent | bcache: fix miss key refill->end in writeback (diff) | |
| download | linux-46010141da6677b81cc77f9b47f8ac62bd1cbfd3.tar.gz linux-46010141da6677b81cc77f9b47f8ac62bd1cbfd3.zip | |
bcache: recal cached_dev_sectors on detach
Recal cached_dev_sectors on cached_dev detached, as recal done on
cached_dev attached.
Update the cached_dev_sectors before bcache_device_detach called
as bcache_device_detach will set bcache_device->c to NULL.
Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
