Re: [PATCH] Change synchronize_rcu() in scsi_device_quiesce() into synchronize_sched()

Tejun Heo
2018-03-19T14:31:47Z

On Fri, Mar 16, 2018 at 10:35:16AM -0700, Bart Van Assche wrote:
> Since blk_queue_enter() uses rcu_read_lock_sched() scsi_device_quiesce()
> must use synchronize_sched().

Is there a reason to use sched-RCU here instead of the regular one?
If not, it'd be better to switch to regular RCU than the other way
around.

Thanks.

--
tejun