diff options
author | lidongyang <[email protected]> | 2017-12-23 05:19:51 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-12-22 10:19:51 -0800 |
commit | 823d48bfb182137c53b9432498f1f0564eaa8bfc (patch) | |
tree | 35f32420b30cdaad0fea38ec0ccc2dd0abbe52a4 /module/zfs/zil.c | |
parent | 44b61ea506212c287333e03d2cf8933216810800 (diff) |
Call commit callbacks from the tail of the list
Our zfs backed Lustre MDT had soft lockups while under heavy metadata
workloads while handling transaction callbacks from osd_zfs.
The problem is zfs is not taking advantage of the fast path in
Lustre's trans callback handling, where Lustre will skip the calls
to ptlrpc_commit_replies() when it already saw a higher transaction
number.
This patch corrects this, it also has a positive impact on metadata
performance on Lustre with osd_zfs, plus some cleanup in the headers.
A similar issue for ext4/ldiskfs is described on:
https://jira.hpdd.intel.com/browse/LU-6527
Reviewed-by: Olaf Faaland <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Li Dongyang <[email protected]>
Closes #6986
Diffstat (limited to 'module/zfs/zil.c')
0 files changed, 0 insertions, 0 deletions