summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2020-10-01 09:50:53 +0300
committerJens Axboe <axboe@kernel.dk>2020-10-02 23:25:30 +0300
commit08a17828812adbe965b7af9a0e3e6a6024460cc8 (patch)
tree68556546380cdd9732550e9024e44ba559896ef6 /tools/perf/scripts/python/exported-sql-viewer.py
parent63a96c05cd43ccf66cb671af039c7931a840efe8 (diff)
downloadlinux-08a17828812adbe965b7af9a0e3e6a6024460cc8.tar.xz
bcache: don't check seq numbers in register_cache_set()
In order to update the partial super block of cache set, the seq numbers of cache and cache set are checked in register_cache_set(). If cache's seq number is larger than cache set's seq number, cache set must update its partial super block from cache's super block. It is unncessary when the embedded struct cache_sb is removed from struct cache set. This patch removed the seq numbers checking from register_cache_set(), because later there will be no such partial super block in struct cache set, the cache set will directly reference in-memory super block from struct cache. This is a preparation patch for removing embedded struct cache_sb from struct cache_set. Signed-off-by: Coly Li <colyli@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions