diff options
author | Stuart Hayes <stuart.w.hayes@gmail.com> | 2024-08-22 15:28:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-03 13:05:08 +0200 |
commit | ba6353748e71bd1d7e422fec2b5c2e2dfc2e3bd9 (patch) | |
tree | 6eac4b9479aafafe22c7d4d6046485dc869efa37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 24e041e1e48d06f25a12caaf73728a4ec2e511fe (diff) |
driver core: don't always lock parent in shutdown
Don't lock a parent device unless it is needed in device_shutdown. This
is in preparation for making device shutdown asynchronous, when it will
be needed to allow children of a common parent to shut down
simultaneously.
Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com>
Signed-off-by: David Jeffery <djeffery@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Tested-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20240822202805.6379-2-stuart.w.hayes@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions