1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Increase the timeout for READ NATIVE MAX

READ NATIVE MAX can take longer than a second if the queued NCQ I/Os
take longer than a second to drain.
This commit is contained in:
Warner Losh 2019-06-13 05:19:36 +00:00
parent 38edd595df
commit 07810343ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349010

View File

@ -2059,7 +2059,7 @@ ata_read_native_max(struct cam_device *device, int retry_count,
/*sector_count*/0,
/*data_ptr*/NULL,
/*dxfer_len*/0,
timeout ? timeout : 1000,
timeout ? timeout : 5000,
is48bit);
if (error)