mirror of
https://github.com/Zygo/bees.git
synced 2025-07-01 16:22:27 +02:00
extent scan: shorten task name for extent map
Linux kernel thread names are hardcoded at 16 characters. Every character counts, and "0x" wastes two. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -1148,7 +1148,7 @@ BeesScanModeExtent::SizeTier::find_next_extent()
|
||||
const auto hold_state = m_crawl->hold_state(this_state);
|
||||
const auto sft = shared_from_this();
|
||||
ostringstream oss;
|
||||
oss << "map_" << to_hex(this_bytenr) << "_" << pretty(this_length);
|
||||
oss << "map_" << hex << this_bytenr << dec << "_" << pretty(this_length);
|
||||
Task create_map_task(oss.str(), [sft, this_bytenr, hold_state, this_length, find_next_task]() {
|
||||
sft->create_extent_map(this_bytenr, hold_state, this_length, find_next_task);
|
||||
BEESCOUNT(crawl_extent);
|
||||
|
Reference in New Issue
Block a user