Skip to content

Comments

Order DSM TCP Responses#4

Open
moharaka wants to merge 2 commits intoGiantVM:masterfrom
moharaka:fix-tcp-ordered-receive
Open

Order DSM TCP Responses#4
moharaka wants to merge 2 commits intoGiantVM:masterfrom
moharaka:fix-tcp-ordered-receive

Conversation

@moharaka
Copy link

Hi,

This an attempt to order the received responses using txid. It uses a hash table to do the reodering. I also took into account the case where txid is equal to 0xFF (any response is returned).

However, I am encountering a deadlock:

[  167.290298] dsm_lock: task dsm-conn/0:4 DEADLOCK on gfn[1298023] vfn[34107656807] caller ivy_kvm_dsm_handle_req
[  179.096223] dsm_lock: task dsm-conn/0:4 DEADLOCK on gfn[1298023] vfn[34107656807] caller ivy_kvm_dsm_handle_req
[  190.892436] dsm_lock: task dsm-conn/0:4 DEADLOCK on gfn[1298023] vfn[34107656807] caller ivy_kvm_dsm_handle_req
[  202.678218] dsm_lock: task dsm-conn/0:4 DEADLOCK on gfn[1298023] vfn[34107656807] caller ivy_kvm_dsm_handle_req
...

Any idea on the issue?

@moharaka moharaka changed the title Add jhash header Order DSM TCP Responses Mar 23, 2020
@moharaka
Copy link
Author

Hi,
I updated the pull request. Please share your opinion when possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant