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

btrfs-defrag.sh should respect BTRFS_ALLOW_CONCURRENCY #115

Open
DarwinAwardWinner opened this issue Oct 1, 2023 · 0 comments
Open

btrfs-defrag.sh should respect BTRFS_ALLOW_CONCURRENCY #115

DarwinAwardWinner opened this issue Oct 1, 2023 · 0 comments

Comments

@DarwinAwardWinner
Copy link

I recently ran into a situation where defrag and scrub were running simultaneously, which brought my entire system to a grinding halt. Looking into it, I see that btrfs-defrag.sh does not use run_task, which means it doesn't respect the setting of BTRFS_ALLOW_CONCURRENCY. From a cursory look at the code, I assume fixing this is as simple as adding run_task on line 30.

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

No branches or pull requests

1 participant