diff options
author | Alexander Motin <[email protected]> | 2024-03-25 17:58:04 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-25 14:58:04 -0700 |
commit | bf8f72359d1bf0cdb6a4b31ccfc7bbef0f948ca4 (patch) | |
tree | 6f651fc9b58c28d18f2e1bb4a424c95295ecbcb2 /module/zfs/btree.c | |
parent | 102b468b5e190973fbaee6fe682727eb33079811 (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/btree.c')
0 files changed, 0 insertions, 0 deletions