summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-11-04 02:20:55 +0300
committerDoug Ledford <dledford@redhat.com>2017-11-13 23:25:16 +0300
commit8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92 (patch)
treec016887acce931d9d9fb72430e8bef15dc73f0d1 /scripts/gdb/linux/utils.py
parent01b3ee13c28456a61e61e5729b8addfaf16d5909 (diff)
downloadlinux-8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92.tar.xz
IB/srpt: Wait until channel release has finished during module unload
Introduce the helper function srpt_set_enabled(). Protect sport->enabled changes with sdev->mutex. Makes configfs writes into 'enabled' wait until all channel resources have been freed. Wait until channel release has finished during kernel module unload. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions