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

stored: don't touch devices that were not acquired #163

Merged
merged 1 commit into from Mar 27, 2019

Conversation

arogge
Copy link
Member

@arogge arogge commented Mar 19, 2019

when one of acquire_device_for_read() or
acquire_device_for_append() in do_mac_run()
returned false, the code still touched the
devices eventually failing another job that
had the device currently acquired.
This patch makes sure do_mac_run() does not
touch any device it couldn't aquire.

when one of acquire_device_for_read() or
acquire_device_for_append() in do_mac_run()
returned false, the code still touched the
devices eventually failing another job that
had the device currently acquired.
This patch makes sure do_mac_run() does not
touch any device it couldn't aquire.
@arogge arogge requested review from franku and pstorz March 19, 2019 15:01
@arogge
Copy link
Member Author

arogge commented Mar 19, 2019

Can someone please take a really good look at this? I cannot write a test as reservation usually handles this and it breaks only sometimes under high load.

@arogge arogge merged commit 7c0f03a into master Mar 27, 2019
@arogge arogge deleted the dev/arogge/master/TT4200427 branch March 27, 2019 10:19
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.

None yet

1 participant