svn commit: r324630 - head/sys/cam/nvme
Warner Losh
imp at FreeBSD.org
Sun Oct 15 16:17:56 UTC 2017
Author: imp
Date: Sun Oct 15 16:17:55 2017
New Revision: 324630
URL: https://svnweb.freebsd.org/changeset/base/324630
Log:
Update comment to reflect actual default timeout.
Sponsored by: Netflix
Modified:
head/sys/cam/nvme/nvme_da.c
Modified: head/sys/cam/nvme/nvme_da.c
==============================================================================
--- head/sys/cam/nvme/nvme_da.c Sun Oct 15 16:08:22 2017 (r324629)
+++ head/sys/cam/nvme/nvme_da.c Sun Oct 15 16:17:55 2017 (r324630)
@@ -189,7 +189,7 @@ nda_nvme_flush(struct nda_softc *softc, struct ccb_nvm
CAM_DIR_NONE, /* flags */
NULL, /* data_ptr */
0, /* dxfer_len */
- nda_default_timeout * 1000); /* timeout 5s */
+ nda_default_timeout * 1000); /* timeout 30s */
nvme_ns_flush_cmd(&nvmeio->cmd, softc->nsid);
}
@@ -203,7 +203,7 @@ nda_nvme_trim(struct nda_softc *softc, struct ccb_nvme
CAM_DIR_OUT, /* flags */
payload, /* data_ptr */
num_ranges * sizeof(struct nvme_dsm_range), /* dxfer_len */
- nda_default_timeout * 1000); /* timeout 5s */
+ nda_default_timeout * 1000); /* timeout 30s */
nvme_ns_trim_cmd(&nvmeio->cmd, softc->nsid, num_ranges);
}
@@ -217,7 +217,7 @@ nda_nvme_write(struct nda_softc *softc, struct ccb_nvm
CAM_DIR_OUT, /* flags */
payload, /* data_ptr */
len, /* dxfer_len */
- nda_default_timeout * 1000); /* timeout 5s */
+ nda_default_timeout * 1000); /* timeout 30s */
nvme_ns_write_cmd(&nvmeio->cmd, softc->nsid, lba, count);
}
@@ -246,7 +246,7 @@ nda_nvme_rw_bio(struct nda_softc *softc, struct ccb_nv
flags, /* flags */
payload, /* data_ptr */
bp->bio_bcount, /* dxfer_len */
- nda_default_timeout * 1000); /* timeout 5s */
+ nda_default_timeout * 1000); /* timeout 30s */
nvme_ns_rw_cmd(&nvmeio->cmd, rwcmd, softc->nsid, lba, count);
}
More information about the svn-src-all
mailing list