fcoe: fixup device_del() inversion
Status from this message: Applied to 4.15/scsi-queue. Thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyApplied
- v1 posting 2/21 patch 1 replySuperseded
- v1 posting 1/23 patches 7 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fcoe: move fcoe_interface_remove() out of fcoe_interface_cleanup()drivers/ | +7 | 0 replies | |
| 2/3 | fcoe: separate out fcoe_vport_remove()drivers/ | +33 | 0 replies | |
| 3/3 | fcoe: open-code fcoe_destroy_work() for NETDEV_UNREGISTERdrivers/ | +13 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Lee Duncan | Johannes Thumshirn |
|---|---|---|
| 1/3 | R-b | A-b |
| 2/3 | R-b | A-b |
| 3/3 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 0/3] fcoe: fixup device_del() inversion
Hi all,
when shutting down an FCoE target system one is greeted with a flood of kernel warnings about
sysfs group ffffffff81eff0e0 not found for kobject 'XXX'
Reason here is that the fcoe driver tries to remove devices from a workqueue, but the NETDEV_UNREGISTER notification expects any calls to be synchronous as it will tear down the device once the notifications return.
With this patch device removals are done synchronously, so the correct ordering is respected and the warnings are gone.
As usual, comments and reviews are welcome.
Hannes Reinecke (3):
fcoe: move fcoe_interface_remove() out of fcoe_interface_cleanup()
fcoe: separate out fcoe_vport_remove()
fcoe: open-code fcoe_destroy_work() for NETDEV_UNREGISTER
drivers/scsi/fcoe/fcoe.c | 81 ++++++++++++++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 30 deletions(-)
Signature · 1 line
1.8.5.6