------- Comment From vineeth.vija...@ibm.com 2021-04-23 01:50 EDT-------
---snip---
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -1525,8 +1525,7 @@ static int io_subchannel_sch_event(struct subchannel 
*sch, int process)
switch (action) {
case IO_SCH_ORPH_UNREG:
case IO_SCH_UNREG:
-               if (!cdev)
-                       css_sch_device_unregister(sch);
+               css_sch_device_unregister(sch);
break;
case IO_SCH_ORPH_ATTACH:
case IO_SCH_UNREG_ATTACH:

I think we'd want an answer from the IBM devs which solution (full revert, 
kaihenfeng patch, cpaelzer patch, another approach) they would prefer - then we 
can submit it upstream  for them to include officially and we can carry it as 
delta until we rebase onto a version that has it applied anyway.
---snip---

Thank you very much for reporting this. Yes. This is a leftover from the
pm-remove patch and the right solution is as mentioned above here. We
shall prepare the patch and share it to the external mailing-list.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1925211

Title:
  Hot-unplug of disks leaves broken block devices around in Hirsute on
  s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1925211/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to