Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Credo][Ycable] Remove the thread locker protection from the thread-safe APIs #388

Merged
merged 2 commits into from
Sep 24, 2023

Conversation

xinyulin
Copy link
Contributor

Description

This fix will remove the thread locker protection from thread-safe APIs. Thread lock is only needed on APIs that invoke the VSC.

Motivation and Context

To avoid the locker being occupied by APIs that don't need this protection. This fix can reduce the occurrence of the 'acquire locker timeout' exception.

How Has This Been Tested?

Tested on Arista-7050CX3-32S-C32

…afe APIs

Signed-off-by: Xinyu <xinyu0123@gmail.com>
@prgeor prgeor self-assigned this Aug 2, 2023
@prgeor prgeor added the Y-Cable label Aug 2, 2023
@vdahiya12 vdahiya12 self-assigned this Aug 10, 2023
@prgeor prgeor self-requested a review September 20, 2023 23:50
@prgeor
Copy link
Collaborator

prgeor commented Sep 20, 2023

@vdahiya12 some issue in approving

@prgeor prgeor merged commit c63abc0 into sonic-net:master Sep 24, 2023
5 checks passed
@StormLiangMS
Copy link

@xinyulin could you update if tested with 202305 image?

StormLiangMS pushed a commit that referenced this pull request Nov 2, 2023
…afe APIs (#388)

Signed-off-by: Xinyu <xinyu0123@gmail.com>
Co-authored-by: Prince George <45705344+prgeor@users.noreply.github.com>
@vdahiya12
Copy link
Contributor

hi @yxieca please help merge into 202205.
Already tested.
MSFT ADO 25768925

yxieca pushed a commit that referenced this pull request Dec 7, 2023
…afe APIs (#388)

Signed-off-by: Xinyu <xinyu0123@gmail.com>
Co-authored-by: Prince George <45705344+prgeor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants