aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/blkptr.c
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2023-10-20 15:37:16 -0400
committerGitHub <[email protected]>2023-10-20 12:37:16 -0700
commit4fbc52495552b7e8b3337c94d0b7080db65657b8 (patch)
treed0b2ccca968b7bd1b82022b456b5b330fa8b9190 /module/zfs/blkptr.c
parentde7b1ae30ab83c37978902dfd53c1ac783ddbc6e (diff)
Remove lock from dsl_pool_need_dirty_delay()
Torn reads/writes of dp_dirty_total are unlikely: on 64-bit systems due to register size, while on 32-bit due to memory constraints. And even if we hit some race, the code implementing the delay takes the lock any way. Removal of the poll-wide lock acquisition saves ~1% of CPU time on 8-thread 8KB write workload. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #15390
Diffstat (limited to 'module/zfs/blkptr.c')
0 files changed, 0 insertions, 0 deletions