Re: [PATCH 4/5] scsi: blocking IO when host is blocked
From:
Bart Van Assche
Date:
Mon Mar 27 2023 - 17:37:58 EST
Next message:
Linus Walleij: "Re: [PATCH v5 5/5] pinctrl: s32: separate const device data from struct s32_pinctrl_soc_info"
Previous message:
Paul Moore: "Re: [PATCH v2] selinux: Adjust implementation of security_get_bools()"
In reply to:
Ye Bin: "[PATCH 4/5] scsi: blocking IO when host is blocked"
Next in thread:
Ye Bin: "[PATCH 5/5] scsi: run queue after set host state from blocked to running"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On 3/24/23 18:17, Ye Bin wrote:
+ if (unlikely(scsi_host_blocked(shost)))
+ goto out_dec_target_busy;
I this check would be moved earlier then the atomic_inc() and atomic_dec() of scsi_target(sdev)->target_busy could be skipped.
Thanks,
Bart.
Next message:
Linus Walleij: "Re: [PATCH v5 5/5] pinctrl: s32: separate const device data from struct s32_pinctrl_soc_info"
Previous message:
Paul Moore: "Re: [PATCH v2] selinux: Adjust implementation of security_get_bools()"
In reply to:
Ye Bin: "[PATCH 4/5] scsi: blocking IO when host is blocked"
Next in thread:
Ye Bin: "[PATCH 5/5] scsi: run queue after set host state from blocked to running"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]