aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_trim.c
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2024-03-25 17:58:04 -0400
committerGitHub <[email protected]>2024-03-25 14:58:04 -0700
commitbf8f72359d1bf0cdb6a4b31ccfc7bbef0f948ca4 (patch)
tree6f651fc9b58c28d18f2e1bb4a424c95295ecbcb2 /module/zfs/vdev_trim.c
parent102b468b5e190973fbaee6fe682727eb33079811 (diff)
BRT: Skip duplicate BRT prefetches
If there is a pending entry for this block, then we've already issued BRT prefetch for it within this TXG, so don't do it again. BRT vdev lookup and following zap_prefetch_uint64() call can be pretty expensive and should be avoided when not necessary. Reviewed-by: Pawel Jakub Dawidek <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #15941
Diffstat (limited to 'module/zfs/vdev_trim.c')
0 files changed, 0 insertions, 0 deletions