MCPcopy Create free account
hub / github.com/F-Stack/f-stack / spa_maxblocksize

Function spa_maxblocksize

freebsd/contrib/openzfs/module/zfs/spa_misc.c:2563–2570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2561}
2562
2563int
2564spa_maxblocksize(spa_t *spa)
2565{
2566 if (spa_feature_is_enabled(spa, SPA_FEATURE_LARGE_BLOCKS))
2567 return (SPA_MAXBLOCKSIZE);
2568 else
2569 return (SPA_OLD_MAXBLOCKSIZE);
2570}
2571
2572
2573/*

Callers 12

blksz_changed_cbFunction · 0.85
blksz_changed_cbFunction · 0.85
receive_objectFunction · 0.85
receive_spillFunction · 0.85
arc_readFunction · 0.85
dbuf_spill_set_blkszFunction · 0.85
dnode_allocateFunction · 0.85
dnode_reallocateFunction · 0.85
dnode_set_blkszFunction · 0.85
vdev_queue_aggregateFunction · 0.85
ztest_random_blocksizeFunction · 0.85

Calls 1

spa_feature_is_enabledFunction · 0.85

Tested by 1

ztest_random_blocksizeFunction · 0.68