Skip to content

feat(linstor): parallelize SR.scan/cleanup (vhd-util calls)#115

Merged
Wescoeur merged 1 commit into3.2.12-8.3from
ran-xostor-fast-scan
Feb 9, 2026
Merged

feat(linstor): parallelize SR.scan/cleanup (vhd-util calls)#115
Wescoeur merged 1 commit into3.2.12-8.3from
ran-xostor-fast-scan

Conversation

@Wescoeur
Copy link
Member

  • Simplify scan logic removing XAPI calls.
  • Create one XAPI session / LINSTOR connection in each worker thread.

@Wescoeur
Copy link
Member Author

Wescoeur commented Nov 29, 2025

This code is clearly not perfect or clean. We need to discuss it if we want to go with this approach. I tried to do this quickly because we're going to need it. I've probably left some errors, and we'll have to test it thoroughly.

@Wescoeur Wescoeur requested a review from klmp200 December 1, 2025 12:34
@Wescoeur Wescoeur force-pushed the 3.2.12-8.3 branch 2 times, most recently from 66c7c8e to aaaab27 Compare December 1, 2025 23:24
@Wescoeur Wescoeur force-pushed the ran-xostor-fast-scan branch from 7fa711a to a1eaa0e Compare December 1, 2025 23:39
@Wescoeur Wescoeur force-pushed the ran-xostor-fast-scan branch from a1eaa0e to 59d9578 Compare February 2, 2026 22:33
@Wescoeur Wescoeur force-pushed the 3.2.12-8.3 branch 3 times, most recently from 9cbd470 to 81418fa Compare February 3, 2026 01:36
@Wescoeur Wescoeur force-pushed the ran-xostor-fast-scan branch 5 times, most recently from 64a22fc to 9ecaab9 Compare February 4, 2026 15:08
Copy link

@klmp200 klmp200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any logic issue, that should improve performance a lot :)

- Simplify scan logic removing XAPI calls.
- Create one XAPI session / LINSTOR connection in each worker thread.

Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.tech>
@Wescoeur Wescoeur force-pushed the ran-xostor-fast-scan branch from 9ecaab9 to 716954a Compare February 5, 2026 11:04
@Wescoeur Wescoeur requested a review from klmp200 February 5, 2026 11:04
@Wescoeur Wescoeur merged commit 6b6bb98 into 3.2.12-8.3 Feb 9, 2026
5 checks passed
@Wescoeur Wescoeur deleted the ran-xostor-fast-scan branch February 9, 2026 14:44
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.

3 participants

Comments