In message: <200910261123.n9qbnfjy087...@svn.freebsd.org>
            Alexander Motin <m...@freebsd.org> writes:
: Author: mav
: Date: Mon Oct 26 11:23:41 2009
: New Revision: 198487
: URL: http://svn.freebsd.org/changeset/base/198487
: 
: Log:
:   Round timeout up when converting CAM milliseconds to ATA seconds.

This implements ceil(timeout) rather than round(timeout).  Is that
intended?

Warner

: -     request->timeout = ccb_h->timeout / 1000; /* XXX lost granularity */
: +     request->timeout = (ccb_h->timeout + 999) / 1000;
...
: -             request->timeout = csio->ccb_h.timeout / 1000;
: +             request->timeout = (csio->ccb_h.timeout + 999) / 1000;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to