mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Clear freeze bit before calling xpt_release_devq.
This ensures that any ccbs which immediately start during the call to xpt_release_devq see an accurate picture of the frozen_lun_mask. Sponsored by: Intel MFC after: 3 days
This commit is contained in:
parent
204ea792b3
commit
c588600407
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239665
@ -278,12 +278,12 @@ isci_remote_device_release_lun_queue(struct ISCI_REMOTE_DEVICE *remote_device,
|
||||
if (remote_device->frozen_lun_mask & (1 << lun)) {
|
||||
struct cam_path *path;
|
||||
|
||||
remote_device->frozen_lun_mask &= ~(1 << lun);
|
||||
xpt_create_path(&path, xpt_periph,
|
||||
cam_sim_path(remote_device->domain->controller->sim),
|
||||
remote_device->index, lun);
|
||||
xpt_release_devq(path, 1, TRUE);
|
||||
xpt_free_path(path);
|
||||
remote_device->frozen_lun_mask &= ~(1 << lun);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user