summaryrefslogtreecommitdiffstats
path: root/AUTHORS
diff options
context:
space:
mode:
authorAlex Zhuravlev <[email protected]>2018-01-08 10:57:47 -0800
committerBrian Behlendorf <[email protected]>2018-01-09 16:16:07 -0800
commit3910184d9ecf187f5f229798bab688d754fa1e30 (patch)
tree4d1d0a9f6352c93dc33ff55dc70b03ae701552e5 /AUTHORS
parentcba6fc61a2898395c47380a0c2303f19842a2ff0 (diff)
Use zap_count instead of cached z_size for unlink
As a performance optimization Lustre does not strictly update the SA_ZPL_SIZE when adding/removing from non-directory entries. This results in entries which cannot be removed through the ZPL layer even though the ZAP is empty and safe to remove. Resolve this issue by checking the zap_count() directly instead on relying on the cached SA_ZPL_SIZE. Micro-benchmarks show no significant performance impact due to the additional overhead of using zap_count(). Reviewed-by: Olaf Faaland <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Alex Zhuravlev <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #7019
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions