Looking for where in the linux 2.6.33.20 kernel source SCSI timeouts are created/set up

StackOverflow https://stackoverflow.com/questions/11111321

  •  15-06-2021
  •  | 
  •  

문제

In older versions of the kernel (2.6.25.8), it was in drivers/scsi/scsi_error.c in the functions scsi_add_timer and scsi_delete_timer: http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/scsi/scsi_error.c?v=2.6.25.8

I can't seem to find anything similar in scsi_error.c in the 2.6.33.20 kernel, I've looked in other files (using grep and searching for time) and see mentions of timeouts, but nothing that looks similar like where you're setting the timeout value for the timer.

Any help is greatly appreciated, been banging my head on this for a while.

Thanks!

도움이 되었습니까?

해결책

I have a feeling that what you're trying to find was changed in 242f9dcb8ba6f68fcd217a119a7648a4f69290e9, when the timeouts were lifted out of the specific block devices and moved into the block device abstraction layer.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top