On Mon, Mar 19, 2018 at 11:01:00AM -0700, Bart Van Assche wrote: > Since neither the RCU-protected code in blk_queue_enter() nor > blk_queue_usage_counter_release() sleeps, regular RCU protection > is sufficient. Note: scsi_device_quiesce() does not have to be > modified since it already uses synchronize_rcu(). > > Reported-by: Tejun Heo <[email protected]> > Fixes: 3a0a529971ec ("block, scsi: Make SCSI quiesce and resume work > reliably") > Signed-off-by: Bart Van Assche <[email protected]> > Cc: Hannes Reinecke <[email protected]> > Cc: Ming Lei <[email protected]> > Cc: Christoph Hellwig <[email protected]> > Cc: Johannes Thumshirn <[email protected]> > Cc: Tejun Heo <[email protected]> > Cc: Oleksandr Natalenko <[email protected]> > Cc: Martin Steigerwald <[email protected]> > Cc: [email protected] # v4.15
Acked-by: Tejun Heo <[email protected]> It'd be great to add a comment to clarify the pairing. Thanks. -- tejun
