On 8/22/19 5:15 PM, Damien Le Moal wrote:
> Since elevator_init_rq() is called before the device queue is registered
> in sysfs, there is no possible conflict with elevator_switch(). Remove
> the unnecessary locking of q->sysfs_lock mutex.
>
> Signed-off-by: Damien Le Moal
> ---
> block/elevator
On 23/08/2019 02:15, Damien Le Moal wrote:
> Since elevator_init_rq() is called before the device queue is registered
elevator_init_mq() ~^ (and in Subject)
Otherwise:
Reviewed-by: Johannes Thumshirn
--
Johannes ThumshirnSUSE Labs Filesystems
jthumsh...@suse.de
Since elevator_init_rq() is called before the device queue is registered
in sysfs, there is no possible conflict with elevator_switch(). Remove
the unnecessary locking of q->sysfs_lock mutex.
Signed-off-by: Damien Le Moal
---
block/elevator.c | 12 ++--
1 file changed, 2 insertions(+), 1