summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2018-03-15 14:22:00 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-03-16 18:19:03 +0000
commit948373b3ed1bcf05a237c24675b84804315aff14 (patch)
tree3a430eb260acb32104a68197d127c9ccd01c46b6 /block
parentfca288c0153b2b97114b9081bc3c33c3735145b6 (diff)
PCI: hv: Only queue new work items in hv_pci_devices_present() if necessary
If there is pending work in hv_pci_devices_present() we just need to add the new dr entry into the dr_list. Add a check to detect pending work items and update the code to skip queuing work if pending work items are detected. Signed-off-by: Dexuan Cui <decui@microsoft.com> [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Acked-by: Haiyang Zhang <haiyangz@microsoft.com> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Cc: Jack Morgenstein <jackm@mellanox.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions