Public bug reported: The upstream Linux kernel fixed a hang:
https://github.com/torvalds/linux/commit/fa1944bbe6220eb929e2c02e5e8706b908565711 "One customer reports a bug: raid5 is hung when changing thread cnt while resync is running. The stripes are all in conf->handle_list and new threads can't handle them. Commit b39f35e ("md: don't quiesce in mddev_suspend()") removes pers->quiesce from mddev_suspend/resume. Before this patch, mddev_suspend needs to wait for all ios including sync io to finish. Now it's used to only wait normal io. Fix this by calling raid5_quiesce from raid5_store_group_thread_cnt directly to wait all sync requests to finish before changing the group cnt." I check the latest code of ubuntu, but this patch is not applied to ubuntu. Shall we cherrypick this patch? ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089728 Title: Wait sync io to finish before changing group cnt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2089728/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs