If there are some problems on the disk, the disk driver usually repeats it. For example, sometimes the Linux SCSI driver receives BUSY status from SCSI disks and retransmits IO. The upper levels (for example, FS) will wait: 1. The disk driver cannot process an I / O error and report an error directly. 2. The disk driver still retries, but a timeout occurs.
My question is, what is the timeout value on windows and linux platforms? For example, if I call write to send some data to the disk synchronously, how long will the system call return if it cannot really write the data?
Thanks!
flypen
source share