diff options
| author | Coly Li <colyli@suse.de> | 2018-10-08 20:41:18 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-10-08 08:19:55 -0600 |
| commit | 149d0efada7777ad5a5242b095692af142f533d8 (patch) | |
| tree | 7a210e48918d00c6d161f58decd4fc1349ad4765 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | bcache: remove useless parameter of bch_debug_init() (diff) | |
| download | linux-149d0efada7777ad5a5242b095692af142f533d8.tar.gz linux-149d0efada7777ad5a5242b095692af142f533d8.zip | |
bcache: replace hard coded number with BUCKET_GC_GEN_MAX
In extents.c:bch_extent_bad(), number 96 is used as parameter to call
btree_bug_on(). The purpose is to check whether stale gen value exceeds
BUCKET_GC_GEN_MAX, so it is better to use macro BUCKET_GC_GEN_MAX to
make the code more understandable.
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
