summaryrefslogtreecommitdiff
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2017-11-28 12:40:31 -0600
committerNicholas Bellinger <nab@linux-iscsi.org>2018-01-12 15:07:13 -0800
commit488ebe4c355fdead39dbb3f6a51329c16cbfcc60 (patch)
treeb23d76cc19a8e4fd937ecf94ed517a8571cd17bc /lib/bitmap.c
parent9972cebb59a653cca735178a70c8ab09a5f4de1a (diff)
downloadlinux-488ebe4c355fdead39dbb3f6a51329c16cbfcc60.tar.gz
linux-488ebe4c355fdead39dbb3f6a51329c16cbfcc60.tar.xz
tcmu: move expired command completion to unmap thread
This moves the expired command completion handling to the unmap wq, so the next patch can use a mutex in tcmu_check_expired_cmd. Note: tcmu_device_timedout's use of spin_lock_irq was not needed. The commands_lock is used between thread context (tcmu_queue_cmd_ring and tcmu_irqcontrol (even though this is named irqcontrol it is not run in irq context)) and timer/bh context. In the timer/bh context bhs are disabled, so you need to use the _bh lock calls from the thread context callers. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions